-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Signing VSTO manifests not working #219
Comments
Note: I built SignService on my local machine and published it from VS2019. Once I've got it working I'll set it up properly using a cloned repo and a build pipeline, I promise 😀 |
The code is looking for mage here: It should not be in an |
Hmm maybe I did something wrong when I published the service. I'll pull the latest changes from master, rebuild and republish and see what happens. |
OK I'm now on the latest commit on master (looks familiar 😀), I've rebuilt and republished the service from VS2019 and I'm still seeing the |
I also tried copying all the files (not just |
I'm also hitting this error, and am also seeing that
to this:
The above changed got me past the "The system cannot find the file specified" error. Here's my understanding of the cause, so far. I'm an MSBuild noob, so bear with me:
It looks like this commit split
I'm not familiar enough with what's going on to know what the "right" place for that executable is, but I'm happy to put up a PR with either of those changes if one of them seems like an appropriate solution. |
As for the "Late bound operations" exception from @andrewmolyneux Not sure if you ended up getting past that error in your setup, but if not you may be interested in #266. That was the last step for me to get signing working for VSTO/ClickOnce builds. |
@mgiles Thanks for this - I never got to the bottom of this issue but we're going to need to ship a release of the product I'm working on soon so it's kind of urgent now 😆 I more or less forgot where I was up to so I've deleted the app and its resource group with a view to starting over, and now I can't even get it to deploy (using the ArmDeploy project) but I'll certainly update any relevant issues when I get to that point. |
@clairernovotny Any thoughts on Matt's comment above, regarding the paths where tools are deployed? I'm currently restarting the whole deployment process with a view to deploying via Azure Pipelines rather than publishing from Visual Studio (as I did the last time around) and I'm wondering if you can confirm that this is a bug? Or are Matt and I both doing something wrong? |
I've got SignService up and running and I've successfully signed a few DLL and MSI files from an Azure DevOps pipeline, so it looks like everything is basically working. However, we need to sign an add-in built using VSTO and I'm not having much luck with that. I've followed the instructions under the "ClickOnce" heading in README.md to pack everything up in a zip file with a ".clickonce" extension but SignService is returning a 404 error when I try to sign it.
Learning from my previous experience (issue #216) I went straight to Application Insights and I'm seeing the following error:
Digging through the stack trace, I found this:
That is, this line of code which seems to be attempting to start
mage.exe
.I can provide a full stack trace if required, but it looks like it can't find
mage.exe
. I've used Kudu to browse the file system on the App Service andmage.exe
is definitely there in thetools/SDK/x86
subdirectory, so I'm kind of stuck now.The text was updated successfully, but these errors were encountered: