Visual Studio 2017 won't load .NET Framework references in .NET Standard library

后端 未结 5 1173
野趣味
野趣味 2021-01-11 23:33

I\'ve installed Visual Studio 2017. I have a class library in the new .NET Standard format, which is able to be used by both .NET Framework and .NET Core. But when I go to <

5条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-11 23:46

    Try to change order of TargetFrameworks inside your .csproj.

    From

    netstandard2.0;net461
    

    To

    net461;netstandard2.0
    

提交回复
热议问题