I recently updated my portable class libraries for the target .NET Core using project.json and the new netstandard1.0 proxy. I understand that this is supported now in Nuget 3.4. I have the following .json project for my project:
{ "supports": {}, "dependencies": { "Microsoft.NETCore.Portable.Compatibility": "1.0.1", "NETStandard.Library": "1.6.0" }, "frameworks": { "netstandard1.0": {} } }
This works great with updating Visual Studio 2015 3.
However, when using the VSTS assembly (Visual Studio Online was created) it now gives me the following error during the package recovery phase:
The project 'MyProject' does not specify any target frameworks in 'C:\a\1\s\MyProject\project.json'.
The command that he shows performs the following:
NuGet.exe restore "C:\a\1\s\Build.sln" -NonInteractive -configfile "C:\a\1\NuGet\newNuGet.config"
Is it because of performing recovery versus solution? Or maybe the VSTS Build task is not using Nuget 3.4 yet?
source share