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

Better error messages when specifying wrong/non-existent framework #648

Closed
blackdwarf opened this issue Jan 14, 2017 · 0 comments
Closed
Assignees
Milestone

Comments

@blackdwarf
Copy link

Repro

  1. Run dotnet new
  2. Run dotnet restore
  3. Run dotnet build -f net461

Expected result

An error saying that the TFM is invalid because it doesn't exist in my project.

Actual result

I get an error about having to put in RIDs. However, if I replace the repro command with dotnet build -f netcoreapp3.0 I will get a red wall of build errors because the ref assemblies cannot be found (which is normal, because they don't exist).

It would be much better if we could provide a good error message here.

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

No branches or pull requests

4 participants