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

Catch "The reference assemblies (...) were not found." project loader exception and provide better information #2029

Closed
filipw opened this issue Nov 26, 2020 · 0 comments · Fixed by #2069

Comments

@filipw
Copy link
Member

filipw commented Nov 26, 2020

Currently when The reference assemblies for .NETFramework,Version=v4.7.1 were not found. is thrown (typically when trying to open desktop .NET project when running on built-in Mono), it is accompanied by a link to download the reference assemblies for Windows only (the default MSBuild error).

A lot of users, especially Unity users, are overwhelmed by this and do not know how to proceed.

We should catch that exception and provide more relevant entry in the log e.g. detecting if user is on *nix, describing they should install global Mono and so on. This could allow users to self-diagnose and fix the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant