Jelajahi Sumber

Fix build for .Net Core 2.x

Bond_009 5 tahun lalu
induk
melakukan
499c3dbdca
1 mengubah file dengan 5 tambahan dan 0 penghapusan
  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>