visual-studio

VS2010 ASP.NET MVC add unit test to existing project

Is it possible to add the unit testing functionality (in Visual Studio 2010 Web Developer Express) for an already existing ASP.NET MVC project? ...

Can't find windows phone 7 template under VC# Express 2010 but only on VS 2010

I have both VC# Express 2010 and VS 2010 on my machine. I installed Windows phone 7 toolkit but I can only find Windows Phone 7 application template under VS 2010 not VC# Express. How can I also get it on VC# Express 2010 ? On MS page it is advertized Windows Phone 7 for Express Edition http://www.microsoft.com/express/Phone/ ...

TFS: How to compare changesets between two branches

Hi How can I find changesets in Branch A that were not merged to branch B programmatically. This what Merge Window does in TFS client GUI but I need to programmatically get the list of changesets. Say I have Microsoft.TeamFoundation.VersionControl.Client.Workspace reference. ...

Line Counter for VS 2010

Hi everybody, I'm looking for a line counting tool like Project Line Counter by Oz Solomon: Project Line Counter. This add-in worked perfectly for me with VS 2005 and 2008. But, unfortunately, Oz has no time to develop it further or to adapt it to VS 2010. Do you know some great line counting tool for C++ code that perferably (but not ...

Managing Code Assets

Dear Stackoverflow, I have written quite a bit of code of the past few years. I've been using the Visual Studio Development Environment for my C# code, but I wouldn't call myself an advanced user of Visual Studio. I can create projects, create source code, and build/debug the project. I don't use many of the advanced features of the ...

Uploaded pictures not included in project

I have upload control on my asp.net page. I upload pictures in folder cars and they show in windows explorer when I open that folder (cars), but in Visual Sudio they act like they not include in project ( that is the reason why they don't show on image control which point to some of them. What did I make wrong ? ...

Which is the most important code analysis rule and why?

A large set of code analysis rules is defined within Visual Studio and FxCop but which one do you find to be the most important and most critical to conform and why? Retrospectively, could any of the rules have saved you a lot of time/money if you had enforced them from the start or at least before your product was released? ...

Was program opened by a user or was it started from windows registry start up?

Is it somehow possible to detect whether program was started by a user or it was started automatically from registry at Windows start up? ...

C++: Is there a way to avoid redundancy with changing long declarations?

This has always bugged me with C and C++: In my header file I have something like: bool UpdateWindow( int w, int h, char bpp, bool force, char* someOtherLongStuff ) Now, if I want to change that for whatever reason, I have to do so in both header and source file - that's annoying in my opinion. Is there a way to automate this? I'm ...