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
This question is a bit old but this comes up first when you search for a solution, so I will add my 2 cents.
If you still have this problem after installing the fix, try this, this worked for me:
Open the database project folder in Windows Explorer. Delete the following files/folders:
Close and re-open Visual Studio. Click Build.
The project built fine for me.
Under the Operational tab
3.1 uncheck Auto create statictics and
3.2 Uncheck Auto update statistics checkbox.
This will reduce your numbers of operations by about 90% and the analysis should finish instantly.
Old question, but looks like still not solved.
My dacpac has over 10000 objects and the build got stuck for over 40 mins on the Validating stage. Tried the options suggested in other comments and answers but no joy.
Apparently, the Validation of the model also does a "case search". I unchecked the option and build time dropped to under a minute.
Validate Casing on identifies in SQL Server project in VS2017
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;
Hopefully this helps someone in the same spot that I was in.
I even had this issue with Visual Studio 2019 enterprise version 16.3.2 I solved it by just deleting my local database project and fetched the latest version of the project recursively from my DevOps code repository
Here is a possible fix. (I have had to recreate the schema on SQL databases before, due to speed issues) but this article might be worth looking at. - sounds closer to your issue. Can't open my dbml file in Visual Studio 2010 anymore