Skip to content

Commit 54e0b27

Browse files
committed
Update signing keys for NewProjectWizard.csproj
1 parent 446ceea commit 54e0b27

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

GoogleTestAdapter/NewProjectWizard/NewProjectWizard.csproj

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,4 +134,13 @@
134134
</FilesToSign>
135135
</ItemGroup>
136136
</Target>
137+
<PropertyGroup>
138+
<PreBuildEvent Condition="'$(RealSign)' != 'True'">if exist "$(SolutionDir)Keys\Key_Release.snk" (
139+
echo Using Release key for signing assembly
140+
copy "$(SolutionDir)Keys\Key_Release.snk" "$(ProjectDir)Key.snk"
141+
) else (
142+
echo Using Debug key for signing assembly
143+
copy "$(SolutionDir)Keys\Key_Debug.snk" "$(ProjectDir)Key.snk"
144+
)</PreBuildEvent>
145+
</PropertyGroup>
137146
</Project>

0 commit comments

Comments
 (0)