visual-studio

What do you think is the best C# Commenting Structure? Specifically with Visual Studio.

Over the years as I have gone through school and been working in the industry I have often asked people for advice on commenting. Sadly, as we all know, commenting with many developers is something that is taken as a side note and not much else. With that said I usually get a fairly general answer. Really this does not help much to se...

Change background color of Solution Explorer in Visual Studio

Is there any way to change the background color of the Solution Explorer in Visual Studio using a Theme? - or any other way for that matter? I can change it by changing windows-wide color settings, but obviously that affects too much. ...

What are your most-recommended Visual Studio preferences?

There are so many little options and settings within Microsoft Visual Studio. Which adjustments do you recommend to others? ...

Should the Visual Studio GUI editor be used?

Coming from a background, I'm familiar with GUI editors that do a poor job of producing code. However, I've never written a GUI using .NET. Does the GUI editor in Visual Studio have the same problem(s)? Are both the source files and output GUI good? ...

How can I debug heap errors in a C# class library?

I'm getting a heap corruption error in a C# library module I'm calling through COM in a C++ app. The specific error is: HEAP: Free Heap block 4b61bb8 modified at 4b61be8 after it was freed ... This may be due to a corruption of the heap, and indicates a bug in [app].exe or any of the DLLs it has loaded. The top of the cal...

How can I get Emacs style key bindings in Visual Studio?

How can I get Emacs style key bindings in Visual Studio? Is it available in Settings? Do I need a Plug-in? ...

What are some convincing arguments to upgrade from Visual Studio 6?

I have a client who is still using Visual Studio 6 for building production systems. They write multi-threaded systems that use STL and run on mutli-processor machines. Occasionally when they change the spec of or increase the load on one of their server machines they get 'weird' difficult to reproduce errors... I know that there are ...

How do I wrap a selection with an HTML tag in Visual Studio?

This seems like the most basic question in the world, but damned if I can find an answer. Is there a keyboard shortcut, either native to Visual Studio or through Code Rush or other third-party plug-in, to wrap the current selection with an HTML tag? I'm tired of typing the opening tag, cutting the misplaced closing tag to the clipboard,...

Is there a Visual Studio plugin for sorting build output (scrambled from multi-threaded builds)?

My work just gave me a quad core computer, and WOW build times are fast! (What used to take 20+ minutes now takes 7 minutes). Anyway, Visual Studio builds project in parallel (great for build times), but scrambles the output: 1>Performing Makefile project actions 3>arg.c 2>msg.c 3>log.c 4>test.c (and so on....) Is there a plugin tha...

Visual Studio 2005 vs 2008 - What are the benefits?

What are the benefits of upgrading from Visual Studio 2005 to 2008? Any thoughts on whether it's worth the jump, or is it better to wait for whatever's coming next? ...

How to make Visual Studio Pause after executing a console app in debug mode?

I have a collection of boost unit tests I want to run as a console application. When I'm working on the project and I run the tests I would like to be able to debug the tests and I would like to have the console stay open after the tests run. I see that if I run in release mode the console window stays up after the program exits, but i...

How do you run a console application in the Visual Studio output window, instead of opening a new command prompt?

I'm developing a simple console application in Visual Studio 2008 and want to run it in the output window inside Visual Studio 2008, instead of having a separate command prompt window come up. Is there a way to do this? ...

Show file tree in visual studio 2005?

Hello, I have a large project that I want to start using visual studio 2005 to edit. I want to tell it "Here are all the files I want you to track, now get on with it" and have them displayed as a directory tree, for example: Folder 1 - File A - File B - File C Folder 2 - Folder 3 - File X - File Y - File D - File E Right...

Where does Visual Studio get the type description info used by Intellisense?

Where do the type/member/parameter descriptions that you see in the Intellisense bubble come from? Are they stored in type attributes? EDIT: I'm specifically interested in the built-in types. ...

An Alternative to VS 2008 Designer Screen

I thought the web page designer screen in 2005 was mediocre until I used the one in 2008 which I think is bad. There is an interesting white paper here: http://www.west-wind.com/weblog/posts/484172.aspx I've gotten very used to these WYSIWYG designers over the years, but I am looking now for a new way. I make business web apps whi...

Design: Large archive file editor, file mapping

Hello! I'm writing an editor for large archive files (see below) of 4GB+, in native&managed C++. For accessing the files, I'm using file mapping (see below) like any sane person. This is absolutely great for reading data, but a problem arises in actually editing the archive. File mapping does not allow resizing a file while it's being a...

Is the design view for aspx pages in Visual Studio useful?

I have never really found the design view in Visual Studio useful when developing aspx pages, and so I basically never use it. Am I missing something or is it just one of those features that isn't particularly useful? Do you use the design view? If so, how do you find it useful? If not, why not? ...

Small problem with painting scroll bars with MFC

In an MFC application there is a small rectangular region where the scroll bars meet (bottom right of the window). It seems that this region only invalidates when the frame is resized. On other occasions (for example, if another window is dragged over it), this region does not repaint. I've been able to reproduce it in VS 6 and 2008 o...

How to add NUnit in Visual Studio

I need to write test cases for my application. I go for Nunit. Please let me know how to add Nunit to my Visual studio IDE. where can i download them. Thanks. ...

ReSharper (or something like it) for Visual C++ ?

I've seen ReSharper recommended a lot Unfortunately, it doesn't support C++ in Visual Studio. Is there anything out there you can recommend? I already use Visual Assist, and it does its job very well, but it's quite limited in comparison with ReSharper. Any suggestions? ...