0

最近我们开始在 Visual Studio 2010 中使用数据库项目。我在解决方案中添加了一个相当大的数据库并导入了所有对象。所有警告都已消除,因此可以正常运行。

真正让我烦恼的一件事是,当您打开解决方案时,数据库项目将开始加载数据库模式,这需要一些时间(分钟)并使用大量资源。实际上,我无法在加载解决方案的那一刻开始工作。

除了从解决方案或其他硬件中删除数据库项目之外,还有什么方法可以禁用或更改该行为?

4

1 回答 1

0

Answering my own question: unload the project. This way it will (locally) not load the next time you open the solution. If you need to work on the database project, just load it, work on it and unload it again.

于 2010-10-04T13:42:20.047 回答