Strong-name sign WiX assemblies.
Bob Arnson committed
Oct 31, 2020 at 21:14 UTC
eaa1a2f53a440ef8e9ffc9e4a2069fc6de54907b
3 files changed
+12
src/CSharp.Build.props
new
+11
@@ -0,0 +1,11 @@
1
+<!-- 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. -->
2
+<!--
3
+ Do NOT modify this file. Update the canonical version in Home\repo-template\src\CSharp.Build.props
4
+ then update all of the repos.
5
+-->
6
+<Project>
7
+ <PropertyGroup>
8
+ <SignAssembly>true</SignAssembly>
9
+ <AssemblyOriginatorKeyFile>$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)wix.snk))</AssemblyOriginatorKeyFile>
10
+ </PropertyGroup>
11
+</Project>
src/Directory.Build.props
+1
@@ -22,6 +22,7 @@
22
<Product>WiX Toolset</Product>
23
</PropertyGroup>
24
25
+ <Import Project="CSharp.Build.props" Condition=" '$(MSBuildProjectExtension)'=='.csproj' and Exists('CSharp.Build.props') " />
26
<Import Project="Cpp.Build.props" Condition=" Exists('Cpp.Build.props') And '$(MSBuildProjectExtension)'=='.vcxproj' " />
27
<Import Project="Wix.Build.props" Condition=" Exists('Wix.Build.props') And '$(MSBuildProjectExtension)'=='.wixproj' " />
28
<Import Project="Custom.Build.props" Condition=" Exists('Custom.Build.props') " />
src/wix.snk
Binary files /dev/null and b/src/wix.snk differ