Multi-targeting project raises The target "_GetRestoreSettingsPerFramework" does not exist

715 Views Asked by At

I'm trying to update one of my existing C# project to the new Microsoft.NET.Sdk project structure. The solution consists of net45, netstandard1.0 and uap10.0 projects.

  • When I run "dotnet build ValueConverters.sln" from the NuGet Package Manager Console, I receive following error: error MSB4057: The target "_GetRestoreSettingsPerFramework" does not exist in the project.

  • When I build the same ValueConverters.sln solution in Visual Studio using MSBUILD, everything works fine.

The solution can be found here: https://github.com/thomasgalliker/ValueConverters.NET/tree/develop

What am I doing wrong? When I remove uap10.0 from the TargetFrameworks, it works like a charm.

0

There are 0 best solutions below