signtool.exe not found at [project path]

Hello,

I'm new to using Jetbrains Rider (2020.2) and I'm very impressed by it.

I ran into an issue with a ClickOnce application. The build process fails stating it can't find the signtool at the project path. This is correct, the signtool is part of the sdk and it's included in the Path environment variable.

Is there a way to tell Rider (or msbuild?) to use the signtool in the sdk?

Thanks in advance.  

4 comments
Comment actions Permalink

Hello.
Do I understand correctly that you want to create a WPF application to publish with ClickOnce? If that’s true then, unfortunately, Rider doesn’t have this option. There is a feature request for that:  https://youtrack.jetbrains.com/issue/RIDER-31442.
Please feel free to vote for it to subscribe for updates and raise its priority. 

Best regards,
Maxim Isaev.

0
Comment actions Permalink

Hi,

Thanks for your reply. Ultimately that is what I am trying to do, so I'll upvote the request.

But that is not the main issue I think. I'm wondering why the build process assumes the signtool is in my project directory instead of the environment path. In the project itself there is no reference to the signtool.

Best regards,
Richard

0
Comment actions Permalink

Hi.
Could you please collect MSBuild logs? To do this, please follow the steps below:
1. Run rebuild project with diagnostic;

2. Save a log file from the “MSBuild Structured Log Viewer” window that will open automatically after rebuilding the project.

3. Share this log file with us (how to share is described here https://rider-support.jetbrains.com/hc/en-us/articles/208199755).

Best regards,
Maxim Isaev.

0
Comment actions Permalink

Hello.
Thanks, I got your log file.
You get this error because MSBuild can’t find a signtool application from the list of default directories and your project directory is checked last. There's also a GitHub issue in dotnet repository you might want to take a look on https://github.com/dotnet/msbuild/issues/2710.

Please let me know if it helps.

Best regards,
Maxim Isaev.

0

Please sign in to leave a comment.