The project was restored using Microsoft.NETCore.App version 2.1.0, but with current settings, version 2.1.0-rtm-26515-03 would be used instead

后端 未结 6 665
一个人的身影
一个人的身影 2020-12-08 13:06

at the moment I have a microservice made in c # with web api and net core 2.0

in the nutget packages I have already found a version 2.1 of net core and I have decide

6条回答
  •  抹茶落季
    2020-12-08 13:23

    As @Leo Liu-MSFT mentioed, I had to set the RuntimeFrameworkVersion and RuntimeIdentifier in .csproj file:

     
       2.1.1
       AnyCPU
       win-x64
     
    

    But then importantly, I had to restore packages for the solution.

提交回复
热议问题