visual-studio

ASP.Net MVC and nUnit

I have nUnit installed. I have VS2008 Team Edition installed. I have ASP.Net MVC Preview 4 (Codeplex) installed. How do I make Visual Studio show me nUnit as a testing framework when creating a new MVC project? At this point I still only have the Microsoft Testing Framework as a choice. Update: I installed nUnit 2.5, but still wit...

Source Control in Visual Studio Isolated Shell

Hi, I am developing an Isolated Shell that caters to "designers/special content creators" performing specific tasks, using the Shell. As they operate on files, they need to be able to use TFS for source control. This is mainly due to the fact that Developers will also operate on the same files from TFS but using Visual studio 2008. Aft...

Do you have any tips to improve ReSharper and/or Visual Studio performance ?

I'm using visual studio 2008 and ReSharper 4 and it's kind of slow. My machine has 2 GB of RAM, dual core processor and a 7200 rpm hard disk. I know more RAM and a faster hard disk could improve performance, but do you have any tips to improve ReSharper/Visual Studio performance? ...

AnkhSVN versus VisualSVN

I currently use AnkhSVN to integrate subversion into Visual Studio. Is there any reason I should switch to VisualSVN? AnkhSVN is free (in more than one sense of the word) while VisualSVN costs $50. So right there unless I'm missing some great feature of VisualSVN I don't see any reason to switch. ...

Best way to license Microsoft software as an independent developer

I've recently switched from being an employee of a small consulting company to being an independent consultant and as time goes on I will need to upgrade Windows and Visual Studio. So what is the most affordable way to go about this for a small time developer? My previous boss suggested I get a TechNet Plus subscription for OS licenses,...

Resharper vs. CodeRush

I know there are many discussions if Resharper or CodeRush is better. At my company we currently use Resharper and I'm fine with it. But last week I watched a screencast about CodeRush and thought it was amazing. There are just so many "new" refactorings that I immediately thought about a migration. What's your favorite tool for refac...

How do you automate a visual studio build?

How do you turn a Visual Studio build that you'd perform in the IDE into a script that you can run from the command line? Update: To those also looking for the answer to this question, please check the Related box to the right as several similar questions have been asked. ...

Vi editing for Visual Studio

I'm used to the vi(m) editor, and am using MS VisualStudio 2005 at work. I couldn't find a free vi add-in (there's one for the 2003 version :-( ). I've googled a bit, saw that there was a 'Google summer of code' project this year to write such an add-in, and am eagerly awaiting the result. I've also heard of ViEmu (not free, and I can't ...

What are your most useful Resharper settings configurations and codetemplates?

I find Resharper a must for VS2008 but there are so many options to configure everything. What are the settings you immediately configure in a new Resharper install? Do you share your setting with all your team? ...

What is the best free memory leak detector for a C/C++ program and its plug-in DLLs?

I have a .exe and many plug-in .dll modules that the .exe loads. (I have source for both.) A cross-platform (with source) solution would be ideal, but the platform can be narrowed to WinXP and Visual Studio (7.1/2003 in my case). The built-in VS leak detector only gives the line where new/malloc was called from, but I have a wrapper for...

Third party Visual Studio snippets

Do you know where I could find some useful third party (free) code snippets for VS 2008? ...

Visual Studio 2005 Shortcuts

I'm trying to bind the following shortcut: Ctrl + W to close tabs How can you customize VS to add/change shortcuts? Also, what are the most useful shortcuts you guys have found? ...

How do I REALLY reset the Visual Studio window layout?

I had a plugin installed in Visual Studio 2008, and it created some extra dockable windows. I have uninstalled it, and I can't get rid of the windows it created - I close them, but they always come back. They're just empty windows now, since the plugin is no longer present, but nothing I've tried gets rid of them. I've tried: Window...

How to get rid of VSMacros80 folder from project root?

How can I have it so Visual Studio doesn't keep re-creating this folder that I never use. It's annoying ot keep looking and unnecessary. ...

Why does Visual Studio create a new .vsmdi file?

If I open a solution in Visual Studio 2008 and run a unit test then VS creates a new .vsmdi file in the Solution Items folder and gives it the next number available e.g. My Solution2.vsmdi. Any idea why VS is doing this and how I can get it to stop doing this? ...

Why do my exception stack traces always point to the last method line?

I have a problem with my Visual Studio installation. When I got an exception I always have incorrect line numbers in it's stack trace. There are always point to last line of each method in my codebase. At the same time it's OK when I'm tracing programs with debugger. What's happed with PDBs? No, I'm not re-throwing exception at each met...

What exactly is Microsoft Expression Studio and how does it integrate with Visual Studio?

My university is part of MSDNAA, so I downloaded it a while back, but I just got around to installing it. I guess part of it replaces FrontPage for web editing, and there appears to be a video editor and a vector graphics editor, but I don't think I've even scratched the surface of what it is and what it can do. Could someone enlighten m...

What causes Visual Studio to fail to load an assembly incorrectly?

I had been happily coding along on a decent sized solution (just over 13k LOC, 5 projects) which utilizes Linq to Sql for it's data access. All of sudden I performed a normal build and I received a sweet, sweet ambiguous message: Error 1 Build failed due to validation errors in C:\xxx\xxx.dbml. Open the file and resolve the issues in th...

What versions of Visual Studio can be installed concurrently?

Are there any conflicts with having any combination of Visual Studio 2003, 2005 and/or 2008 installed? I noticed a related question here but wanted a more general answer. ...

What does ServerVariables["APPL_MD_PATH"] retreives the metabase path for the Application for the ISAPI DLL mean?

Hello, I've trying to get an ASP.net (v2) app to work in the debugger and keep running into a problem because the value returned by HttpContext.Current.Request.ServerVariables["APPL_MD_PATH"].ToLower() is an empty string. I have found out that this "Retrieves the metabase path for the Application for the ISAPI DLL". Can anybody shed s...