visual-studio-2008

Visual Studio Breakpoint Macro to modify a value?

元气小坏坏 提交于 2019-12-30 06:38:18
问题 I'm debugging an application (C++), and I've found a point in the code where I want to change a value (via the debugger). So right now, I've got a breakpoint set, whereupon I do: Debugger reaches breakpoint I modify the variable I want to change I hit F5 to continue running lather, rinse, repeat It's hitting this breakpoint a lot, so I would like to automate this. I would like to set the Breakpoint to run a macro, and continue execution. However, I have no experience writing VisualStudio

Visual studio custom build step rule?

空扰寡人 提交于 2019-12-30 06:08:59
问题 Using Visual Studio 2008, When I add to a C++ project a file that is not .c/.cpp/.h/.rc or anything the IDE doesn't recognize a dialog pops up which asks me if I want to create a custom build step rule for this kind of files. Does anybody know how to get to this dialog without adding a file? I can't seem to be able to find in any of the menus. Edit: I know all about the .rules file. What I'm talking about is a GUI Dialog from within Visual Studio 2008 which allows you to create and edit these

Visual studio custom build step rule?

六月ゝ 毕业季﹏ 提交于 2019-12-30 06:08:44
问题 Using Visual Studio 2008, When I add to a C++ project a file that is not .c/.cpp/.h/.rc or anything the IDE doesn't recognize a dialog pops up which asks me if I want to create a custom build step rule for this kind of files. Does anybody know how to get to this dialog without adding a file? I can't seem to be able to find in any of the menus. Edit: I know all about the .rules file. What I'm talking about is a GUI Dialog from within Visual Studio 2008 which allows you to create and edit these

Hide Properties/Toolbox Pane when not in Resource View?

三世轮回 提交于 2019-12-30 05:48:08
问题 Every time I view a form or dialog in Visual Studio (2005) the Properties and Toolbox panes show up on the right side of my screen. That's good to have because they are useful for manipulating dialogs. However once I switch back to source code these panes just get in the way... is there a way to get them to go away automatically? 回答1: I've done something recently in VS2010 using a macro that shows and hides the Tools panel when switching back and forth from code to design view in asp.net MVC3

Disabling single line copy in Visual Studio

柔情痞子 提交于 2019-12-30 05:32:08
问题 Is there anyway to disable the rather annoying feature that Visual Studio (2008 in my case) has of copying the line (with text on it) the cursor is on when CTRL - C is pressed and no selection is made? I know of the option to disable copying blank lines. But this is driving me crazy as well. ETA: I'm not looking to customize the keyboard shortcut. ETA-II: I am NOT looking for "Tools->Options->Text Editor->All Languages->Apply cut or copy to blank lines...". 回答1: If you aren't willing to

Visual Studio 2008 with c++11

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-30 04:36:10
问题 Can I somehow make Visual C++ 2008 to have C++11 library and use all the good things C++11 standard allows? 回答1: In short words, it's impossible. VS2008 has no C++11 support and replacing the libraries would lead to chaos. In long words, you maybe could do something: Use another compiler: C++ compiler support (Updated Link) You could upgrade your visual studio, but even MSVC12 (visual studio 2013) is not supporting all of C++11 standard. You could embed the Intel compiler into your visual

Downgrade C# Project from visual studio 2010 to visual studio 2008

╄→гoц情女王★ 提交于 2019-12-30 03:17:06
问题 I wrote a visual c# 2008 windows form application ,then i edited the code in a computer which had visual studio 2010,but i can no longer run it in visual 2008,is there a way i can do this? 回答1: When you say "can no longer run it"... what happens? the sln files are not compatible; you'll need different sln files for each VS version the csproj are mostly compatible, although you might see a "version 4 not recognised, using 3.5 instead" warning or two, which is usually fine the cs is compatible

Visual Studio Resource Generation - Custom Tool Namespace

情到浓时终转凉″ 提交于 2019-12-30 03:09:49
问题 I have a C# class library that contains several resources files organized in folders. Since I want the generated classes to be all in the same namespace I'm setting the CustomToolNamespace property of each resource file. However I discovered through Reflector that although the classes are all being generated in the same namespace the path to the embedded resources contains the directory name in which the resource file is placed. For example in a project where FolderCustomNamespaceRes.resx is

How can i disable Cider (WPF Gui Editor) within VS2008?

試著忘記壹切 提交于 2019-12-30 02:08:05
问题 when developing wpf applications i never use the graphical editor ( aka cider). only the xaml editor. as "cider" needs quite some resources when loaded i wonder if there is a way to completely disable it. This may speed up loading xaml files. i heard that this is possible, but as google does not return what i`m looking for, i want to ask the SO community. any ideas? regards 回答1: It's quite simple! At the Tools menu, chose Options, and chose "Text Editor" at the left pane. Expand it, and chose

Speeding up build times in ASP.NET

独自空忆成欢 提交于 2019-12-30 00:36:14
问题 I am currently involved in a ASP.NET project with about 40 projects in the solution. We are doing all our development in cloned Virtual PC environments so all developers have identical setups. That's all good, managing dependencies is easy, however building the solution is horribly slow. Virtual PC can only utilize one CPU so I'm really only using half of my computers resources. It takes a full 3 minutes from build to a complete page load.. and it's getting worse every day as the projects