Switch to the built-in signing procedure.

Each developer will have to specify his own winsw_cert.pfx in the project root.

Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
pull/62/head
Oleg Nenashev 2015-01-23 15:24:38 +03:00
parent 45fba7f974
commit 99fb13d41a
2 changed files with 11 additions and 7 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@ obj
/UpgradeLog.htm
/winsw.csproj.DotSettings.user
/winsw.csproj.user
/winsw_cert.pfx

View File

@ -15,8 +15,8 @@
<StartupObject>
</StartupObject>
<SignManifests>false</SignManifests>
<SignAssembly>false</SignAssembly>
<AssemblyOriginatorKeyFile/>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>winsw_cert.pfx</AssemblyOriginatorKeyFile>
<FileUpgradeFlags>
</FileUpgradeFlags>
<UpgradeBackupLocation>
@ -84,8 +84,12 @@
</ItemGroup>
<ItemGroup>
<Content Include="manifest.xml" />
<Content Include="pom.xml" />
<Content Include="winsw.xml" />
<Content Include="pom.xml">
<SubType>Designer</SubType>
</Content>
<Content Include="winsw.xml">
<SubType>Designer</SubType>
</Content>
</ItemGroup>
<ItemGroup>
<None Include="winsw_cert.pfx" />
@ -111,8 +115,7 @@
</Target>
-->
<PropertyGroup>
<PostBuildEvent>"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\mt.exe" -manifest "$(ProjectDir)manifest.xml" -outputresource:"$(TargetDir)$(TargetFileName)";#1
"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\signtool.exe" sign /f c:\winsw-do-not-add-to-scm.pfx /p winsw /t http://timestamp.comodoca.com/authenticode $(TargetFileName)</PostBuildEvent>
<PostBuildEvent>
</PostBuildEvent>
</PropertyGroup>
</Project>