Commit 2bb49712 authored by Sydney Acksman's avatar Sydney Acksman

Add comment to summarize project

Set lang version to C# 3.0
Add .NET Standard 2.0 target
Fix partial diagnostic string since it requires C# 6
parent 63780dfb
......@@ -39,7 +39,7 @@ namespace Google.Protobuf.TestProtos
{
public string ToDiagnosticString()
{
return $"{{ \"c\": {C}, \"@cInHex\": \"{C:x}\" }}";
return string.Format("{{ \"c\": {0}, \"@cInHex\": \"{0:x}\" }}", C);
}
}
}
<Project Sdk="Microsoft.NET.Sdk">
<!--
This CodeGen project is kept seperate from the original test project for many reasons.
It allows us to make sure code can compile on a seperate compiler version, different frameworks,
and without the internal visibility from the test project (all of which have caused issues in the past).
-->
<PropertyGroup>
<TargetFrameworks>net451;netstandard1.0</TargetFrameworks>
<TargetFrameworks>net451;netstandard1.0;netstandard2.0</TargetFrameworks>
<LangVersion>3.0</LangVersion>
<AssemblyOriginatorKeyFile>../../keys/Google.Protobuf.snk</AssemblyOriginatorKeyFile>
<SignAssembly>true</SignAssembly>
<PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment