-
-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Publish Visual Studio Extension: Publish Fails in Azure DevOps with Unhandled Exception on Windows-2022 Agent #706
Comments
I'm guessing it's a bug in Visual Studio 17.8 which was just released to the hosted agents. The fact that your machine works with 17.7 only strengthens my suspicion... Can you report it over at the Visual Studio Developer Community so the Visual Studio team can have a look? https://developercommunity.visualstudio.com/VisualStudio?q=vsixpublisher&sort=newest For now I recommend to run your publish step from |
I believe you are correct, because somebody already submitted a similar issue at the Visual Studio Developer Community: Unable-to-publish-to-marketplace The issue can be closed then, thanks @jessehouwing |
Lets leave it open for others to find until this functionality has been restored on the hosted agents. |
I'm hitting this too, but I'm not convinced the issue @psxvoid listed is the same. In that issue, they at least get far enough that the publish can spit out a warning (VsixPub0029). Here it just seems to crash. |
FYI, this is fixed for me :). |
Additional context
Hi,
I've tried to deploy (publish) my extension in Azure DevOps pipeline but the deployment failed during the publishing. Though, I see
##[error]Error: Login failed.
output in the logs, it seems like the problem is not related to the login (explained why below). Here is the screenshot of the log output:Please, notice:
windows-2022
build agent (windows-latest
produces the same log).2023-11-22T11:00:57.1387384Z VSSDK: information VsixPub0041 : Publisher 'XYZ' is now logged-in.
line in the log output.Unhandled Exception: System.IO.FileLoadException: Could not load file or assembly 'System.Memory
which we can see on the screenshot.4.3.94
Also, I've tried to publish the extension from my local machine with the same PAT, and it was successful:
The text was updated successfully, but these errors were encountered: