This commit is contained in:
Zhipeng Wang 2020-02-25 17:05:43 +08:00
Родитель 6525ad8220
Коммит d50c5f90c7
4 изменённых файлов: 6 добавлений и 4 удалений

Просмотреть файл

@ -4,6 +4,7 @@ variables:
BuildPlatform: Any CPU
CoverallsToken: define this in Azure
Parameters.solution: libraries/csharp_dotnetcore/csharp_dotnetcore.sln
ReleasePackageVersion: 4.0.0-preview-$(Build.BuildNumber)
pool:
name: Hosted Windows 2019 with VS2019
demands:

Просмотреть файл

@ -23,7 +23,7 @@ steps:
inputs:
solution: '$(Parameters.solution)'
vsVersion: "latest"
msbuildArgs: '-p:SignAssembly=false -p:delaySign=false'
msbuildArgs: '-p:SignAssembly=true -p:delaySign=true'
platform: '$(BuildPlatform)'
configuration: '$(BuildConfiguration)'

Просмотреть файл

@ -26,7 +26,8 @@
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Any CPU'">
<AssemblyOriginatorKeyFile>$(SolutionDir)\build\35MSSharedLib1024.snk</AssemblyOriginatorKeyFile>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<NoWarn>$(NoWarn),1573,1591,1712</NoWarn>
<SignAssembly>true</SignAssembly>
@ -37,7 +38,7 @@
<DefineConstants>SIGNASSEMBLY</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Any CPU'">
<DebugType>full</DebugType>
<DebugSymbols>true</DebugSymbols>
</PropertyGroup>

Просмотреть файл

@ -11,7 +11,7 @@
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU' ">
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Any CPU' ">
<SignAssembly>true</SignAssembly>
<DelaySign>true</DelaySign>
<AssemblyOriginatorKeyFile>..\build\35MSSharedLib1024.snk</AssemblyOriginatorKeyFile>