Strong-name sign WiX assemblies.
Bob Arnson committed
Oct 28, 2020 at 20:39 UTC
a530a132079287c5d8d22e73ecc9a6eaab69bd82
4 files changed
+13
-1
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/WixToolset.Core.Burn/WixToolset.Core.Burn.csproj
+1
-1
@@ -13,7 +13,7 @@
13
14
<ItemGroup>
15
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
16
- <_Parameter1>WixToolset.Core.TestPackage</_Parameter1>
16
+ <_Parameter1>WixToolset.Core.TestPackage, PublicKey=0024000004800000940000000602000000240000525341310004000001000100a9967ec28982f42ee51a47dd5204315975a6ed69294b982146a99a70130a2fa13e226aaddde14c17d1bf3af69e8956d69a86585e74d208efcc5ac98a0686055327b2e87960d3c39bf3a6bc1e572863327d19dbf4fd2616dda124dbea260755a2d1d39d3cf1049ea526493eb2bf996b8ad985e3012308529e5b9b0f5cd5fa04bd</_Parameter1>
17
</AssemblyAttribute>
18
</ItemGroup>
19
src/wix.snk
Binary files /dev/null and b/src/wix.snk differ