-
Notifications
You must be signed in to change notification settings - Fork 685
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
C# extension v2.x introduces new file language association, which breaks several things #5860
Comments
@arkalyanms I think this needs to be addressed before GA. |
@WardenGnaw would you take a look? The association seems to come from 173be18 |
Yep. This was added so we can support F5 in a There are two ways to fix this:
|
1 sounds like what we need to do. 2 would still leave xml-based extensions (such as tag completion and synchronization) broken. |
Agree with @333fred here that 2 seems bad. But associating a debugger with all xml types seems equally overkill. What is lost here in somehow mapping to the file extension instead rather than some mime-type? Can't we do an if (xml && .csproj) combo instead? (with obviously a better if check ;-)) |
Yep. Reverting 173be18 maybe the best solution for now and the workaround would be to select a Debugging is heavily tied to a language instead of file type for now. I will work with the VS Code team to see if we can get that resolved but maybe require a newer vscode version past GA. |
This issue also breaks version lens, which is a deal-breaker to me |
In C# extension version 1.x
.csproj
files were classified asxml
files. I believe, this is default behaviour, and extension didn't change it. However, starting with versions 2.x.csproj
files are now classified asdotnetProject
, which breaks several things:xml
was good enough, but now it is completely gone:Before:
After:
msbuild
association.So if it is possible, please revert to previous behaviour for better compatability. If such move is not possible/too complicated to do at least bring back xml syntax colorization
The text was updated successfully, but these errors were encountered: