Skip to content
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

New releases blocked on release build extension deployment bug and VS debugging #479

Closed
grochocki opened this issue Apr 3, 2024 · 7 comments

Comments

@grochocki
Copy link
Contributor

I am investigating a blocking issue with the release build of the extension for VS2022 that is preventing it from loading properly, even though it seems to have worked fine under debug. Unfortunately, I am not unable to deploy the extension under debug, blocking progress. This issue has been reported to the Visual Studio team: Unable to deploy VSIX to VS2022 under debugger.

@mrlacey
Copy link
Contributor

mrlacey commented Apr 3, 2024

What's the blocking issue?

I can build release versions locally and install and run without issue.


Your deployment issue sounds like something went wrong with a VS update. Have you tried a full VS reinstall? (I know it can be frustrating and time-consuming, but it may be quicker than waiting on MS.)

@grochocki
Copy link
Contributor Author

What's the blocking issue?

I am able to repro #466. I have seen this before when updating certain NuGet packages, which was done with #455. But now without being able to debug to verify package compat, I am uneasy about pushing an update.

Your deployment issue sounds like something went wrong with a VS update. Have you tried a full VS reinstall?

That was going to be my next step, though I am running into the issue on two separate devices, which makes it seem less likely to be something wrong with my VS install. Both are on preview builds of Windows (WIP), so maybe related.

@mrlacey
Copy link
Contributor

mrlacey commented Apr 3, 2024

Do you have a copy of the exception log in English?
And can you verify a possible version mismatch as I commented on the other issue?

@mrlacey
Copy link
Contributor

mrlacey commented Apr 3, 2024

Having just checked the source, there's an inconsistency between the minimum install target and the version of the SDK that the extension tries to use. This can cause package load failures -- ask me how I know ;)

@grochocki
Copy link
Contributor Author

Do you have a copy of the exception log in English?

Unfortunately, not from my repro. Also, it wasn't the same version reported in that issue, but latest release builds out of our pipeline on the latest VS release at the time.

Having just checked the source, there's an inconsistency between the minimum install target and the version of the SDK that the extension tries to use.

Is there any documentation on this?

@mrlacey
Copy link
Contributor

mrlacey commented Apr 3, 2024

Having just checked the source, there's an inconsistency between the minimum install target and the version of the SDK that the extension tries to use.

Is there any documentation on this?

Not that I'm aware of. I only learned this when someone on the VS team helped debug why one of my extensions was throwing a similar exception.

I'm putting together a PR with a fix, and lots of comments.

@grochocki
Copy link
Contributor Author

Clean install on a spare device unblocked my issue. Published VSIX updates for 2017, 2019, 2022, and Console. Release details here.

@grochocki grochocki unpinned this issue Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants