-
Notifications
You must be signed in to change notification settings - Fork 676
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
The C# extension does not start unless *.cs file is opened or the workspace contains a project.json #1150
Comments
The simplest fix is blocked by microsoft/vscode#944. |
Here's a repro to creating the error message in Visual Studio Code. Please notice that the entire scenario takes place in the Visual Studio Code terminal. There is no
If the user manually edits the value of workaround Just switching into the project and also opening a |
Unfortunately, this won't make it for our 1.7 release as we're blocked waiting for changes to VS Code in support of this scenario. |
OK. Thanks to @eamodio's PR for VS Code, we're able to improve the experience here a bit. However, this particular repro is still problematic. Essentially, we can now update the extension to activate when the workspace contains a *.csproj or *.sln (using wildcards). However, that only activates an extension when a folder is opened. In this particular scenario, the folder is already open, so the extension still won't activate until you open a .cs file. |
@DustinCampbell That is only because there was no other projects or anything opened beforehand to have the extension activate correct? FYI, microsoft/vscode#28122 is a feature request to have it detect when new files are added. |
Thanks for the pointer @eamodio! I think that would address this. |
@DustinCampbell This is fixed now right ? |
Closing as this is now fixed. |
It should also launch if the workspace contains an .sln or .csproj file.
The text was updated successfully, but these errors were encountered: