sovemp
sovemp

Reputation: 1413

How to build something targeting netstandard framework?

I am trying to build something, specifically NuGet's github repo, and I keep getting an error on my project.json files saying "netstandard 1.5 is an unsupported framework." I haven't used .net core much at all yet, but I can run dnx fine yeI can't at all figure out how to run this. I found only 1 question on stack overflow stating that tooling for visual studio is not available for netstandard. What exactly then do you need to build this? dnu restore gives the same error.

FYI, I am on RC1.

Upvotes: 0

Views: 522

Answers (2)

Justin Emgarten
Justin Emgarten

Reputation: 2368

Use the build.ps1 script in the NuGet.Client repo to build. It downloads dotnet CLI (https://github.com/dotnet/cli) and uses it to restore and build the netstandard projects.

Upvotes: 0

Lex Li
Lex Li

Reputation: 63203

netstandard is reserved for RC2. Wait for a few days and RC2 will be available.

Upvotes: 3

Related Questions