Skip to content

The Free Software Media System - Server Backend & API

Fix build on .Net Core 2.x

Bond_009c0e71cdea79c
diff --git a/Emby.Drawing/Emby.Drawing.csproj b/Emby.Drawing/Emby.Drawing.csproj
index 716de059dc..2e539f2c7f 100644
--- a/Emby.Drawing/Emby.Drawing.csproj
+++ b/Emby.Drawing/Emby.Drawing.csproj
@@ -17,4 +17,9 @@
<Compile Include="..\SharedVersion.cs" />
</ItemGroup>
+ <PropertyGroup>
+ <!-- We need at least C# 7.1 for the "default literal" feature-->
+ <LangVersion>latest</LangVersion>
+ </PropertyGroup>
+
</Project>