The project system has encountered an error When trying to load project

前端 未结 3 2273
一整个雨季
一整个雨季 2021-02-19 07:36

In Visual Studio 2017 v15.7.1 I am getting the following error window when trying to load one of my projects:

And when I go to the path specified, inside the te

相关标签:
3条回答
  • 2021-02-19 08:17

    I want to share a shell script that recursively removes bin and obj directories from the current directory

    Navigate to the root directory of your solution via git bash or wsl

    Run

    find . -type d \( -name bin -o -name obj \) -exec rm -r "{}" \;
    

    Enjoy!

    0 讨论(0)
  • 2021-02-19 08:19

    I found that you need to do two steps to resolve this issue:

    1. Delete the .vs folder at the solution level.
    2. Delete the bin and obj folders in all projects within the solution.

    I encountered the issue in Visual Studio 2017 v15.7.4 and the affected project/solution was created in v15.7.4, so it can occur without upgrading to a new version of Visual Studio.

    0 讨论(0)
  • 2021-02-19 08:40

    Try deleting bin and obj folders in all projects of that solution.

    Probably those folders were having old files generated by some older version of visual studio, which are not compatible with new version of visual studio.

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