Quantcast
Channel: MSBuild forum
Viewing all articles
Browse latest Browse all 2763

SignFile task error in Build machine

$
0
0

I have a Windows 10 VM with VS 2019 installed. MSBuild version is 16.6. I am using the following from msbuild command in Developer Command Prompt and it works fine.

<SignFile CertificateThumbprint="$(CertThumbprint)" SigningTarget="%(DLLFiles.FullPath)" TargetFrameworkVersion="v4.5" />

I have a build machine which is Windows Server 2019 Standard. It has Visual Studio 2019 Build Tools installed (but no VS) and hence MSBuild version is 16.5. The above SignFile task throws an error in the build machine 

"An error occurred while signing: SignTool.exe was not found at path <Location_of_Project_File>\signtool.exe"

Even in my Windows 10 machine, I don't have signtool.exe in the project file location. So, I am not sure why is this error occurring? Please help.


Ven


Viewing all articles
Browse latest Browse all 2763

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>