Parcourir la source

Fix build for .Net Core 2.x

Bond_009 il y a 6 ans
Parent
commit
499c3dbdca
1 fichiers modifiés avec 5 ajouts et 0 suppressions
  1. 5 0
      MediaBrowser.Common/MediaBrowser.Common.csproj

+ 5 - 0
MediaBrowser.Common/MediaBrowser.Common.csproj

@@ -26,4 +26,9 @@
     <GenerateDocumentationFile>true</GenerateDocumentationFile>
   </PropertyGroup>
 
+  <PropertyGroup>
+    <!-- We need at least C# 7.1 for the "default literal" feature-->
+    <LangVersion>latest</LangVersion>
+  </PropertyGroup>
+
 </Project>