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.
来源:https://stackoverflow.com/questions/10388157/how-do-i-permanently-set-a-new-default-project-in-the-vs-nuget-package-manager-c