visual-studio

Enable/Disable "Step into" debugging on certain project in visual studio solution

I have a Visual Studio solution with four c# projects in it. I want to step into the code of a supporting project in the solution from my main project, but when I use the "Step into" key, it just skips over the call into that other project. I've set breakpoints in the supporting project, and they're ignored, and I can't for the life of m...

Subversion, external references, binaries, and MSBuild/Visual Studio

I have a project that is stored in a Subversion repository. In this repository, in a different folder, I have a set of libraries that I use in many of my projects. These libraries are stored as binary files, ie. the dll's, pdb's, and xml's. Here's an example layout: <repo-url> \Libraries \SQLite \SystemHooks ...

How does "Edit and continue" work in Visual Studio?

I have always found this to be a very useful feature in Visual Studio. For those who don't know about it, it allows you to edit code while you are debugging a running process, re-compile the code while the binary is still running and continue using the application seamlessly with the new code, without the need to restart it. How is thi...

Visual Studio reference x64 GAC

How can one get Visual Studio 2005/2008 to reference assemblies in the 64-bit GAC instead of the 32-bit GAC? We are settin the target platfom to x64 and the compiler is throwing the error of Error 2 Warning as Error: Assembly generation -- Referenced assembly 'System.Data.dll' targets a different processor Common Error 3 Warning...

How to stop IE asking which debugger to choose when **trying** to debug?

When debugging in Internet Explorer; I first get an alert box with extremely limited if not useless information (sorry IE) and choice to debug it; After selecting yes; I get another option every time to chose between 'New instance of Microsoft script debugger' and 'New instance of Visual studio'. I'm fed up of having to click the yes but...

Code Coverage on Visual Studio Team System 2008 Developer Edition (on an NUnit application)

Is this possible? I am looking forward to a tutorial which explains the steps to achieve this. ...

How to make a ComboBox column with two data sources (for DataGridView)

The data sources have the same structure, but different data. One would be used for rows that are saved (view mode), and the other one would be for rows that are being added or edited (edit/new rows). How can that be acomplished? I have a standard foreign key column that references a standard lookup table which has an ID, Name and Activ...

Shortcut to collapse to definitions except regions

In vs2008, how can I (possibly with a macro) assign a shortcut key to collapse to definitons but leave regions expanded (they must expand if collapsed)? EDIT: I hate regions but my co-workers does not (: So I want this to avoid the regions used by them. I read jeff's post. Ctrl M + O is what I really want to do, if there were not regio...

Export all symbols when creating a DLL

With VS2005, I want to create a DLL and automatically export all symbols without adding __declspec(dllexport) everywhere and without hand-creating .def files. Is threre a way to do this? ...

Visual Assist low performance

I am using Visual Assist X for C/C++ code in Visual Studio 2005 but I see that, sometime, when visual studio take focus, the processor is working too much and I cannot type code. If I am waiting somes seconds, it return the focus. ...

Clean up file names in Visual Studio's tabbed document interface?

Inside a visual studio project I have the following folders (for example) foo/ bar/ LongFolderName/ When I open up a file in LongFolderName/ the tab gets labeled with LongFolderName/L...me.ascx when I'd prefer LongFileName.ascx (omitting the name of the folder). Any way to set Visual Studio to ignore the folder name when labeling t...

Problem upgrading custom project from vs2005 to vs2008

We developed our own project type for vs2005 with 2006.04 SDK, now upgraded to vs2008, but hit a problem when opening/building an older verion(created in vs2005) with vs2008, the project fail to buid. The problem is when we created our plugin in vs2005, we used default ConfigProvider, which creates .NET as platform names. You can see t...

Turn off auto-collapsing for VB.NET in Visual Studio?

The auto-collapse feature for code properties is neat AFTER you've got your properties all worked out, but while you're still editing them I find the feature to be REALLY annoying. How can you disable it? (I'm in VS2008 if it makes a difference) Edit: I'm not talking about the Property Window... I'm talking about properties in code. ...

How can we display a "step" inside Visual Studio build process?

When you are monitoring the TFS build from Visual Studio (2008 or 2005), you can see where it is up to. The issue is that I have some Post-Build custom steps I would like the developer to be able to see directly throught the UI. Those steps take some times and we can also get a "timing" of the build step. Any idea how to have it displa...

Change version information in a built binary

How does one go about changing the version information in a built binary? Specifically I have a .exe which is built with VS6 but doesn't seem to include up any of the company information or version information strings. I'm not really even sure how they get in there in the first place, actually. Is there a command line tool for updat...

Error for a program compiled under VS2008

Hi, I have just compiled an open source program under VS2008, the compilation is success. But when running, the program crashes with error can be traced back to std:list. The author claimed that the program can be compiled successfully under VS2005 and VS2003, I'm quite new to VC++ thus I don't know much about any change to base library ...

Virtual PC high CPU usage problems

I run VPC 2007 on my Vista business laptop with 4 gig RAM. I use VPC to run windows XP and maintain a VS2003 web project. At first everything was great. I assigned the VPC 512MB and did my work as usual. I also run Resharper and Visual SVN. Lately, the act of scrolling in a page causes the CPU to spike above 50, sometimes near 100. ...

Sharing Visual Studio Code Snippets amongst a team of developers

Has anyone come up with a good way to share a set of Visual Studio Code Snippets (actual .snippet files that Visual studio uses) amongst a team of developers automatically? It would be great for other developers on my team to benefit from shortcuts I've created for myself, and vice versa. ...

Hotkeys for Previous and Next call stack frames in Visual Studio

Visual Studio gives many navigation hotkeys: F8 for next item in current panel (search results, errors ...), Control+K,N for bookmarks, Alt- for going back and more. There is one hotkey that I can't find, and I can't even find the menu-command for it, so I can't create the hotkey myself. I don't know if such exist: Previous and Next c...

Merging files in Sourcesafe

All, I currently have two projects that are under SourceSafe that I am unable to migrate to our SVN server for a number of reasons. However I am currently in the process of trying to merge fixes from one project into the other. I know Sourcesafe isn't the best at this but the process I am going through just now is particularly tedi...