aboutsummaryrefslogtreecommitdiff
path: root/csharp/src/Google.Protobuf.Test/Google.Protobuf.Test.csproj
diff options
context:
space:
mode:
authorJon Skeet <skeet@pobox.com>2015-08-03 11:16:31 +0100
committerJon Skeet <skeet@pobox.com>2015-08-03 11:16:31 +0100
commitbf1cc9217a486cf68c2705d4f307fddb73291004 (patch)
tree9696fb3337789fb576f68ca99f69048a0975eb17 /csharp/src/Google.Protobuf.Test/Google.Protobuf.Test.csproj
parentda776fbd1e0a401e3d0d48f2905c38e9fb0359d9 (diff)
parente61b528b5afe8b14f10d848ffa48ebf7cfd33e5a (diff)
downloadprotobuf-bf1cc9217a486cf68c2705d4f307fddb73291004.tar.gz
protobuf-bf1cc9217a486cf68c2705d4f307fddb73291004.tar.bz2
protobuf-bf1cc9217a486cf68c2705d4f307fddb73291004.zip
Merge pull request #675 from jtattermusch/signing
Add ReleaseSigned configuration for C#
Diffstat (limited to 'csharp/src/Google.Protobuf.Test/Google.Protobuf.Test.csproj')
-rw-r--r--csharp/src/Google.Protobuf.Test/Google.Protobuf.Test.csproj16
1 files changed, 14 insertions, 2 deletions
diff --git a/csharp/src/Google.Protobuf.Test/Google.Protobuf.Test.csproj b/csharp/src/Google.Protobuf.Test/Google.Protobuf.Test.csproj
index eb6d3960..d9593828 100644
--- a/csharp/src/Google.Protobuf.Test/Google.Protobuf.Test.csproj
+++ b/csharp/src/Google.Protobuf.Test/Google.Protobuf.Test.csproj
@@ -12,8 +12,6 @@
<AssemblyName>Google.Protobuf.Test</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
- <SignAssembly>true</SignAssembly>
- <AssemblyOriginatorKeyFile>..\..\keys\Google.Protobuf.snk</AssemblyOriginatorKeyFile>
<OldToolsVersion>3.5</OldToolsVersion>
<TargetFrameworkProfile>
</TargetFrameworkProfile>
@@ -45,6 +43,20 @@
<GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'ReleaseSigned|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>bin\ReleaseSigned</OutputPath>
+ <IntermediateOutputPath>obj\ReleaseSigned\</IntermediateOutputPath>
+ <DefineConstants>TRACE;$(EnvironmentFlavor);$(EnvironmentTemplate)</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <NoStdLib>true</NoStdLib>
+ <GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
+ <Prefer32Bit>false</Prefer32Bit>
+ <SignAssembly>True</SignAssembly>
+ <AssemblyOriginatorKeyFile>C:\keys\Google.Protobuf.snk</AssemblyOriginatorKeyFile>
+ </PropertyGroup>
<ItemGroup>
<Reference Include="mscorlib" />
<Reference Include="nunit.core, Version=2.6.4.14350, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">