Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Core 2.0 VSTS Build Error

$
0
0

I just created a basic ASP.NET Core 2.0 project. Changed the target framework to .Net 4.6.1. Everything builds and runs fine locally but when I created a VSTS build, it fails while doing the NuGet restore. I get several messages like this one:

<div> <div>Package Microsoft.AspNetCore.Http 2.0.0 is not compatible with net461 (.NETFramework,Version=v4.6.1). Package Microsoft.AspNetCore.Http 2.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0)</div> <div></div> <div>Any help would be appreciated.</div> </div>

Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>