Skip to content

Commit 962bb86

Browse files
Enable strong-naming of Microsoft.VisualStudio.SolutionPersistence assembly (#443)
1 parent 6e1d6e5 commit 962bb86

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

keys/vs-solutionpersistence.snk

160 Bytes
Binary file not shown.

repo-projects/vs-solutionpersistence.proj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
<PropertyGroup>
1313
<!-- Project Paths -->
14+
<SlnPersistenceKeyFilePath>$(KeysDir)vs-solutionpersistence.snk</SlnPersistenceKeyFilePath>
1415
<SlnPersistenceDirectory>$(ProjectDirectory)/src/Microsoft.VisualStudio.SolutionPersistence/</SlnPersistenceDirectory>
1516
<SlnPersistenceProjectPath>$(SlnPersistenceDirectory)Microsoft.VisualStudio.SolutionPersistence.csproj</SlnPersistenceProjectPath>
1617
<PackagesOutput>$(ProjectDirectory)bin/Packages/$(Configuration)/NuGet/</PackagesOutput>
@@ -20,6 +21,9 @@
2021

2122
<DotnetToolCommandArgs>$(DotnetToolCommandArgs) /p:Configuration=$(Configuration)</DotnetToolCommandArgs>
2223
<DotnetToolCommandArgs>$(DotnetToolCommandArgs) /p:TreatWarningsAsErrors=false</DotnetToolCommandArgs>
24+
<DotnetToolCommandArgs>$(DotnetToolCommandArgs) /p:AssemblyOriginatorKeyFile=$(SlnPersistenceKeyFilePath)</DotnetToolCommandArgs>
25+
<DotnetToolCommandArgs>$(DotnetToolCommandArgs) /p:SignAssembly=true</DotnetToolCommandArgs>
26+
<DotnetToolCommandArgs>$(DotnetToolCommandArgs) /p:PublicSign=true</DotnetToolCommandArgs>
2327
<DotnetToolCommandArgs>$(DotnetToolCommandArgs) /p:FileVersion=$(SolutionPersistenceVersion)</DotnetToolCommandArgs>
2428
<DotnetToolCommandArgs>$(DotnetToolCommandArgs) /p:PackageVersion=$(SolutionPersistenceVersion)</DotnetToolCommandArgs>
2529

0 commit comments

Comments
 (0)