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>↧