MSBuildWorkspace doesn't handle multi-targeted unloadable projects correctly when resolving references
Open
Area-IDE
- Dominant language
- C#
- Stars
- 20.7k
- Forks
- 4.3k
- PR merge metrics
- PR metrics pending
Description
It'd likely be simpler to allow `LoadProjectFileInfosAsync` and `LoadProjectFileAsync` to load any project, not just C# and VB. For unloadable projects it would only fill output file paths `ProjectFileInfo` and set the `Language` to null and the caller would handle it appropriately.
Tracks TODO in code
Contributor guide
Research direction
Start by locating the TODO and the LoadProjectFileInfosAsync and LoadProjectFileAsync entry points in the Roslyn repository. Trace how multi-targeted unloadable projects are handled during reference resolution; done means those projects provide output file paths with a null language and the caller handles them appropriately.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100