瀏覽代碼

Add <LangVersion>6</LangVersion> to the core protobuf C# project to prevent future incompatibility

Hao Nguyen 6 年之前
父節點
當前提交
db0a9e0b96
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      csharp/src/Google.Protobuf/Google.Protobuf.csproj

+ 1 - 0
csharp/src/Google.Protobuf/Google.Protobuf.csproj

@@ -5,6 +5,7 @@
     <Copyright>Copyright 2015, Google Inc.</Copyright>
     <Copyright>Copyright 2015, Google Inc.</Copyright>
     <AssemblyTitle>Google Protocol Buffers</AssemblyTitle>
     <AssemblyTitle>Google Protocol Buffers</AssemblyTitle>
     <VersionPrefix>3.6.1</VersionPrefix>
     <VersionPrefix>3.6.1</VersionPrefix>
+    <LangVersion>6</LangVersion>
     <Authors>Google Inc.</Authors>
     <Authors>Google Inc.</Authors>
     <TargetFrameworks>netstandard1.0;net45</TargetFrameworks>
     <TargetFrameworks>netstandard1.0;net45</TargetFrameworks>
     <GenerateDocumentationFile>true</GenerateDocumentationFile>
     <GenerateDocumentationFile>true</GenerateDocumentationFile>