Skip to content

Commit

Permalink
Switch to the built-in signing procedure.
Browse files Browse the repository at this point in the history
Each developer will have to specify his own winsw_cert.pfx in the project root.

Signed-off-by: Oleg Nenashev <[email protected]>
  • Loading branch information
oleg-nenashev committed Jan 23, 2015
1 parent 45fba7f commit 99fb13d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ obj
/UpgradeLog.htm
/winsw.csproj.DotSettings.user
/winsw.csproj.user
/winsw_cert.pfx
17 changes: 10 additions & 7 deletions winsw.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
<StartupObject>
</StartupObject>
<SignManifests>false</SignManifests>
<SignAssembly>false</SignAssembly>
<AssemblyOriginatorKeyFile/>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>winsw_cert.pfx</AssemblyOriginatorKeyFile>
<FileUpgradeFlags>
</FileUpgradeFlags>
<UpgradeBackupLocation>
Expand Down Expand Up @@ -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" />
Expand All @@ -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>

0 comments on commit 99fb13d

Please sign in to comment.