Error NU1605 Detected package downgrade

前端 未结 5 1537
野趣味
野趣味 2021-02-11 12:00

I am experiencing the following NU1605 dependency errors in my netcoreapp2.0 console application:

NU1605  Detected package downgrade: System.Dia         


        
5条回答
  •  终归单人心
    2021-02-11 12:50

    Make sure that you are using same version for build and publish you can fix it adding 2.1.9 in .csproj file under PropertyGroup this should match with your current settings version. Ex:

      
          Exe
          netcoreapp2.1    
          2.1.9 
      
    

    Error which I got was: NETSDK1061: The project was restored using Microsoft.NETCore.App version 2.1.9, but with current settings, version 2.1.0 would be used instead.

提交回复
热议问题