Skip to content
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

Improve custom error messages for MSB3644 #2097

Merged
merged 4 commits into from
Feb 27, 2021
Merged

Improve custom error messages for MSB3644 #2097

merged 4 commits into from
Feb 27, 2021

Conversation

filipw
Copy link
Member

@filipw filipw commented Feb 26, 2021

#2069 introduced custom error message for MSB3644 (avoid the default The reference assemblies for {0} were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack)...)

This works well, however, .NET 5.0 and 6.0 are special cases, because the old MSBuilds assume these are ".NETFramework,Version=v5.0" and ".NETFramework,Version=v6.0" and our solution suggestion (to use global Mono instead of embedded one) is invalid. In fact, in those cases we need to suggest the opposite.

This PR extends #2069 to provide special casing for .NET 5.0 and 6.0, which hopefully will make troubleshooting easier for both users and us.

Copy link
Member

@JoeRobich JoeRobich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@filipw filipw merged commit f357d53 into master Feb 27, 2021
@filipw filipw deleted the feature/refs-ex-2 branch February 27, 2021 06:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants