ciriarte
ciriarte

Reputation: 1483

DOTNET1011: Framework not installed: .NETFramework

I'm adding this here because it caused me a headache this morning while fixing our build server:

Executing dotnet build would show me the following errors:

DOTNET1011: Framework not installed: .NETFramework,Version=v4.6.1
error NU1001: The dependency mscorlib could not be resolved.

The error is confusing, as I DO have the .NETFramework,Version=v4.6.1 installed.

Upvotes: 9

Views: 2617

Answers (1)

ciriarte
ciriarte

Reputation: 1483

It turns out that I needed the following developer pack (targeting pack):

https://www.microsoft.com/en-us/download/details.aspx?id=49978

Upvotes: 14

Related Questions