Repository navigation
Work around the SDK error with 6.0.0-preview - #70
Closed
jeffhandley wants to merge 2 commits into
Closed
jeffhandley wants to merge 2 commits into
jeffhandley wants to merge 2 commits into
Conversation
Member
Author
|
On the CI, there apparently wasn't a non-preview SDK found. I added a new commit that falls back to the first SDK found if there isn't a non-preview SDK found. This now works both on my machine and on CI. 🤷♂️ |
This was referenced Apr 1, 2021
Member
Author
|
We can close this since the change from it was bundled into #63. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This works around #69, coercing the 5.0 stable SDK to be registered instead of the 6.0 preview SDK. I do not know why the 6.0 preview SDK leads to the error shown in the issue, but (on my machine at least), this workaround lets me continue to target
net6.0in the projects and let the unit tests pass.This also includes a change that prevents exceptions when multiple unit tests run and each tries to register the VS build instance.