Description
Is your feature request related to a problem? Please describe.
A few times when using ProjInfo I ran into the issue where loadSln
yielded 0 project results.
Using ProjectLoader.getProjectInfo
yielded a cryptic MSBuild-related error.
Often the root cause for the error was that MSBuild references were either missing or they didn't have the right ExcludeAssets
attributes set.
Describe the solution you'd like
I would like ProjInfo APIs to detect the above cases and report a clear error which instructs the user to add appropriate MSBuild references to the project, ideally with a link to some online instructions (eg. a GitHub page).
Describe alternatives you've considered
Keeping it as is - can take the user a lot of time to figure out what's happening.
Activity