Skip to content

Commit 473b685

Browse files
authored
Merge pull request #466 from Kevin-Andrew/sign
TFS 490896 Code Signing Certificate
2 parents 1831f4f + aa92a02 commit 473b685

3 files changed

Lines changed: 13 additions & 18 deletions

File tree

SafeguardDevOpsServiceWix/SetupSafeguardDevOpsService.wixproj

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@
2424
<DefineConstants>SourceDir=bin\$(Configuration)\publish</DefineConstants>
2525
<SuppressIces>ICE61;ICE63;ICE64</SuppressIces>
2626
</PropertyGroup>
27-
<PropertyGroup>
28-
<SignToolPath>C:\Program Files (x86)\Microsoft SDKs\ClickOnce\SignTool\signtool.exe</SignToolPath>
29-
</PropertyGroup>
3027
<ItemGroup>
3128
<Compile Include="Component-generated.wxs" />
3229
<Compile Include="Product.wxs" />

pipeline-templates/windows-build-steps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ steps:
1717
- task: VSBuild@1
1818
inputs:
1919
solution: '$(solution)'
20-
msbuildArgs: '/p:SignFiles=true /p:buildId=$(Build.BuildId)'
20+
msbuildArgs: '/p:SignFiles=true /p:buildId=$(Build.BuildId) /p:SignToolPath="C:\Program Files (x86)\Microsoft SDKs\ClickOnce\SignTool\signtool.exe"'
2121
platform: '$(buildPlatform)'
2222
configuration: '$(buildConfiguration)'
2323
displayName: 'Build $(solution) with signing'
Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
variables:
2-
- name: solution
3-
value: '**/*.sln'
4-
- name: setupProjectDir
5-
value: 'SafeguardDevOpsServiceWix'
6-
- name: setupProject
7-
value: '**/$(setupProjectDir)/*.wixproj'
8-
- name: pluginsDir
9-
value: 'ExternalPlugins'
10-
- name: buildPlatform
11-
value: 'x64'
12-
- name: buildConfiguration
13-
value: 'Release'
14-
- name: signingToolPath
15-
value: 'C:\Program Files (x86)\Windows Kits\10\bin\10.0.18362.0\x64'
2+
- name: solution
3+
value: '**/*.sln'
4+
- name: setupProjectDir
5+
value: 'SafeguardDevOpsServiceWix'
6+
- name: setupProject
7+
value: '**/$(setupProjectDir)/*.wixproj'
8+
- name: pluginsDir
9+
value: 'ExternalPlugins'
10+
- name: buildPlatform
11+
value: 'x64'
12+
- name: buildConfiguration
13+
value: 'Release'

0 commit comments

Comments
 (0)