Skip to content

Commit

Permalink
Strong-name sign WiX assemblies.
Browse files Browse the repository at this point in the history
  • Loading branch information
barnson committed Nov 1, 2020
1 parent 55c0f1c commit 09324a9
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"msbuild-sdks": {
"WixToolset.Sdk": "4.0.0-build-0162"
"WixToolset.Sdk": "4.0.0-build-0163"
}
}
11 changes: 11 additions & 0 deletions src/CSharp.Build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. -->
<!--
Do NOT modify this file. Update the canonical version in Home\repo-template\src\CSharp.Build.props
then update all of the repos.
-->
<Project>
<PropertyGroup>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)wix.snk))</AssemblyOriginatorKeyFile>
</PropertyGroup>
</Project>
1 change: 1 addition & 0 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<Product>WiX Toolset</Product>
</PropertyGroup>

<Import Project="CSharp.Build.props" Condition=" '$(MSBuildProjectExtension)'=='.csproj' and Exists('CSharp.Build.props') " />
<Import Project="Cpp.Build.props" Condition=" Exists('Cpp.Build.props') And '$(MSBuildProjectExtension)'=='.vcxproj' " />
<Import Project="Wix.Build.props" Condition=" Exists('Wix.Build.props') And '$(MSBuildProjectExtension)'=='.wixproj' " />
<Import Project="Custom.Build.props" Condition=" Exists('Custom.Build.props') " />
Expand Down
Binary file added src/wix.snk
Binary file not shown.

0 comments on commit 09324a9

Please sign in to comment.