Skip to content

Directly create virtual project when dotnet run-api is missing for now #78788

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

Merged
merged 1 commit into from
Jun 2, 2025

Conversation

RikkiGibson
Copy link
Member

@RikkiGibson RikkiGibson commented Jun 2, 2025

From discussion with @jasonmalinowski, we think we should keep in the "directly creating" virtual project behavior that we had prior to #78648, at minimum until we can be pretty sure .NET 10 users will have an SDK with run-api available.

Without this change, users running with .NET 10 preview 4 SDK will not get intellisense in VS Code. They would have to install a nightly .NET 10 or wait for preview 5 to come out.

I did manually verify that this change works when SDK is pinned to preview 4. The log message about taking the fallback path gets written out and so on.

Most of the change here is copy/pasted from deleted lines in the linked PR #78648.

FYI @dibarbet we probably want to make sure this is in the next prerelease that goes out. Apologies for the inconvenience.

@RikkiGibson RikkiGibson requested a review from a team as a code owner June 2, 2025 04:30
@dibarbet
Copy link
Member

dibarbet commented Jun 2, 2025

FYI @dibarbet we probably want to make sure this is in the next prerelease that goes out. Apologies for the inconvenience.

@RikkiGibson our roslyn insertions into prerelease have been blocked for a bit, and do not have your prior change to call out to the run-api. Do we still need to bring this to the next prerelease, or can it go out since it isn't using the run-api yet?

@RikkiGibson
Copy link
Member Author

The prerelease can go out without this, since it also doesn't have #78648 as you mentioned.

@dibarbet dibarbet merged commit 69ff992 into dotnet:main Jun 2, 2025
26 checks passed
@dotnet-policy-service dotnet-policy-service bot added this to the Next milestone Jun 2, 2025
@RikkiGibson RikkiGibson deleted the fbp-temp-fallback branch June 3, 2025 01:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants