Microsoft.DotNet.Props was not found

后端 未结 7 579
梦毁少年i
梦毁少年i 2020-12-02 08:27

I have some error while loading the .net project solution. the error will be like

The imported project \"C:\\Program Files(x86)\\MSBuild\\Microsoft\\VisualSt         


        
相关标签:
7条回答
  • 2020-12-02 09:30

    I ran into this issue after I installed VS2017 community edition. This is how I resolved the issue: Go to this folder: C:\Program Files\dotnet\sdk Find the folder named: 1.0.0 and rename it to xx.xx.xx

    For some reason VS2015 switch back (or default to ) to this folder after VS2017 is installed so renaming it forces VS2015 to look in other folders. This is what I have in my global.json: "sdk": { "version": "1.0.0-preview2-003131" }

    Updated: You will have to change the folder name back to 1.0.0 when you switch over to VS2017. I had to rename it back to migrate my vs2015 .Net Core solution to 2017.

    0 讨论(0)
提交回复
热议问题