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.
It turns out that I needed the following developer pack (targeting pack):
https://www.microsoft.com/en-us/download/details.aspx?id=49978
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With