How do I permanently set a new Default project in the VS NuGet Package Manager console?

烈酒焚心 提交于 2020-01-01 08:18:17

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/10388157/how-do-i-permanently-set-a-new-default-project-in-the-vs-nuget-package-manager-c

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!