如何在VS NuGet软件包管理器控制台中永久设置一个新的默认项目? [英] How do I permanently set a new Default project in the VS NuGet Package Manager console?
问题描述
我正在使用VS2012,每次我重新打开VS时,NuGet软件包管理器控制台中的默认项目都已重置为看起来像任意项目的项目,并且我必须使用下拉列表将其重置为适当的项目./p>
如何为程序包管理器控制台的默认项目设置(并保留此设置)?
或从窗口顶部的标准"工具栏中的下拉菜单中.
I am using VS2012 and every time I reopen VS, the Default project in the NuGet Package Manager console has been reset to what seems like a arbitrary project, and I have to use the dropdown list to reset to the appropriate project.
How can I set (and persist this setting) for the default project for the package manager console?
As it stated in documentation here Package Manager Console's Default Project is whatever project set as StartUp Project on your solution level. You can control StartUp project using right click on project in solution explorer and choosing Set as StartUp Project
:
or from the dropdown in Standard toolbar on top of the window.
这篇关于如何在VS NuGet软件包管理器控制台中永久设置一个新的默认项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!