ProjectCompilationFeatureDetector shouldn't expect VisualStudioWorkspace on a Mac
See original GitHub issueVSMac has a MEF error due to VS Workspace missing:
MEF composition error: Microsoft.AspNetCore.Analyzers.FeatureDetection.ProjectCompilationFeatureDetector.ctor(workspace): expected exactly 1 export matching constraints:
Contract name: Microsoft.VisualStudio.LanguageServices.VisualStudioWorkspace
TypeIdentityName: Microsoft.VisualStudio.LanguageServices.VisualStudioWorkspace
@rynowak I think a simple AllowDefault
on the import should fix this. This code runs on Mac now!
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (10 by maintainers)
Top Results From Across the Web
Strange Visual Studio TFS behavior when working on a ...
When you use a server workspace, Visual Studio keeps only one copy of each file. This can significantly reduce disk space usage and...
Read more >Visual Studio Code Workspace Trust security
The Workspace Trust feature lets you decide whether code in your project folder can be executed by VS Code and extensions without your...
Read more >Visual Studio for Mac: No SDK found at specified location.
Trying to compile an iOS project on the command line throws this error: Could not find a valid Xcode app bundle at '/Library/Developer/ ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@mkArtakMSFT - taking this.
How has this code made its way into VS for mac? We don’t actually ship this, we just maintain it for WTE. So it sounds like they shipped it in VS for mac. I’m happy to fix this, or at least silence the error, but it sounds like ideally it would work in VS for mac as well.
@abpiskunov
@KirillOsenkov - it sounds like you don’t need anything from us and this will just be taken care up when you update WTE? Clap back if you need something from me.