Analyzing database schema takes hours

前端 未结 10 1729
星月不相逢
星月不相逢 2021-02-01 15:21

Using a new SQL2005 database project in VS2010. I did import objects and settings, and built the project. It seems to be stuck at \'Analyzing database schema. Your database pro

10条回答
  •  独厮守ぢ
    2021-02-01 15:31

    Analyzing database objects (in VS 2015 Update 3) was taking more time than usual, and was occurring after repeated attempts at restarting VS. I suspect things had hung when the number of objects hadn't changed for 15 minutes. For me, the following got me going again;

    1. Close VS
    2. Make a backup copy of the solution file (*.sln)
    3. Edit the solution file, removing the database projects Restart VS. I found that I was able to now open the solution and build
    4. Close the solution and replace your edited solution file with the original backup
    5. Restart VS. I found that the solution opened this time, and I was able to build successfully

    Hopefully this helps someone in the same spot that I was in.

提交回复
热议问题