简体   繁体   中英

Run active project in Visual Studio 2010

Is there a shortcut to run a project in my solution without setting it (set as startup project) and instead correlate it with the active file?

I mean run a project whose file is active, but I don't want it to be the default. It should be a different shortcut than F10 , because I'm mainly talking about debugging!

You could set this in the properties of the solution:

在此输入图像描述

I don't know of a way to do exactly what you ask, but you can run any project:

  • right-click the project in Solution Explorer
  • Debug > Start new instance

It doesn't have to be the Start-up project.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM