|
Hi there.
I have a big 'solution' that takes a long time to build and, sometimes I just want to browse it in VS while working on another solution (a small one). Now, sometimes I hit F7 by mistake on the big one instead of the small one and then I have to wait a long time for it to build.
How can I setup VS so that it will block the build of the big solution? Also, is there a way of blocking the edit of files (as if they were read only)?
Thank you very much in advance, Ricardo Abreu
| | Gumbers Thursday, October 11, 2007 1:40 PM | F7 refers to Code View instead of build(F5).
You can goto Tools >> Options... >> Environment >> Keyboard to remove or reassign the ShortCut Key in IDE. (if you want it back, press reset button in the dialog)
F7 defaultly refers to View.ViewCode and F5 refers to Debug.Startall can befound in the listbox of the dialog
Thanks | | Figo Fei Tuesday, October 16, 2007 3:41 AM | Well, thank you and sorry for the late reply (I've been having some problems with my internet connection).
Actually, in my version of Visual Studio F7 does refer to build by default and F5 to start debugging (at least on the c++ environment).
Anyway, that doesn't solve my problem, because I wanted to block the build possibility only for one sollution. For the others, I want to be able to hit the key I'm used to and having them be built.
How I managed to do what I wanted was to create a new "phantom" empty configuration that doesn't build any project of the sollution. Having this configuration be the default when I open the sollution solves my problem because, if I hit F7, it skips all builds.
Nonetheless, thank you again for your attention, Gumbers
| | Gumbers Friday, October 19, 2007 11:35 AM | F7 refers to Code View instead of build(F5).
You can goto Tools >> Options... >> Environment >> Keyboard to remove or reassign the ShortCut Key in IDE. (if you want it back, press reset button in the dialog)
F7 defaultly refers to View.ViewCode and F5 refers to Debug.Startall can befound in the listbox of the dialog
Thanks | | Figo Fei Tuesday, October 16, 2007 3:41 AM | Well, thank you and sorry for the late reply (I've been having some problems with my internet connection).
Actually, in my version of Visual Studio F7 does refer to build by default and F5 to start debugging (at least on the c++ environment).
Anyway, that doesn't solve my problem, because I wanted to block the build possibility only for one sollution. For the others, I want to be able to hit the key I'm used to and having them be built.
How I managed to do what I wanted was to create a new "phantom" empty configuration that doesn't build any project of the sollution. Having this configuration be the default when I open the sollution solves my problem because, if I hit F7, it skips all builds.
Nonetheless, thank you again for your attention, Gumbers
| | Gumbers Friday, October 19, 2007 11:35 AM | Yes, we can set the build action ineach solution configuration.
I took for granted that you're a C# developer, andnever mind.
Thanks | | Figo Fei Monday, October 22, 2007 3:25 AM |
|