Browse Source

Fix build for .Net Core 2.x

Bond_009 5 years ago
parent
commit
499c3dbdca
1 changed files with 5 additions and 0 deletions
  1. 5 0
      MediaBrowser.Common/MediaBrowser.Common.csproj

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

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