Browse Source

Fix build on .Net Core 2.x

Bond_009 5 years ago
parent
commit
c0e71cdea7
1 changed files with 5 additions and 0 deletions
  1. 5 0
      Emby.Drawing/Emby.Drawing.csproj

+ 5 - 0
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>