visual-studio

Visual studio c++ documentation generator

Hi Is there a way to get documentation(like javadoc) in a visual-c++ project? I'm using visual studio 2010. thanks! ...

Does resharper add any kind of code refactoring to VS that Eclipse doesn't have?

And if so are there Eclipse plugins that add those types of code refactoring to eclipse? note:for C#/Java respectively. ...

how to backup database from sqlexpress

Hi all Please help me to backup my database from sqlexpress. ...

Visual Studio: Creating several projects in ONE solution?

Hello, consider a mvvm/wpf application, what advantage has it to do for example 3 projects (View, ViewModel, Model) in a visual studio solution? ...

Visual Studio - "{ }" settings

Seriously, I don't know what to google. Here's the thing, I like this java-like code writting: if (condition == true) { doSomeStuff(); } But VisualStudio "helps" me with his own "style", which I don't like and I am unable to change (after rather big time of desperate checking all settings :/) if (condition == true) { DoStuff(); ...

Visual Studio 2010 Sku upgrade. From Professional to Ultimate

I have installed Visual Studio 2010 Professional (final version), with some components, plug-ins and templates I use a lot. Recently, I been checking all the things that the Ultimate version has, and I've been wondering, Can I just run the VS2010 ultimate installer and it upgrade the Sku, letting me use all of its features along with th...

How to use Visual Studio debugger visualizers built against a different framework version?

I compiled the ExpressionTreeVisualizer project found in the Visual Studio 2010 samples but when I try to use it in a .NET 3.5 project I get the exception below: Could not load file or assembly 'file:///C:\Program Files (x86)\Microsoft\Visual Studio 2010\Common7\Packages\Debugger\Visualizers\ExpressionTreeVisualizer.dll' or o...

Does VS2010 does not install SQL Server during installation

Hi, Just confirming -does VS2010 does not install SQL Server during installation? I'm assuming no. This being the case I therefore need to download a copy of SQL Express 2005 or something to develop against on my windows XP home PC? Is this correct? Or would the Dev edition of SQL Server 2005 run/install on Windows XP Home? thanks...

Visual Studio Custom Tools list

Where can I find Visual Studio's available custom tools list? ...

VS2010 error: Cannot find custom tool 'GlobalResourceProxyGenerator' on this system.

Good day! My strongly typed resource classes acessible via Resources.<Name of resx file> in ASP.NET MVC2 project from /App_GlobalResources are not updated anymore. I've tried to right click on them and choose "Run custom tool" and got error: Cannot find custom tool 'GlobalResourceProxyGenerator' on this system. I use VS2010 Express,...

code folding in Visual Studio for F#

I find that I tend to write long source files in F#. Some open source projects in F# also have long source files, e.g. FPersec and F# for excel. So it would be very helpful if code folding (even very limited support) is available in VS for F#. E.g. in a module, we can fold out functions that are stable, only leave functions that are sub...

View every caught and handled exception from all threads

How can I view all the caught and handled exceptions in C# application while debugging, so that I can view where all errors happened and how it was handled. ...

Howto create a C# Application that blocks pc hibernation?

I want to make a program to wake me up, but if I leave it and go to sleep the pc ends up sleeping. How can I force it to never sleep if this application is running? I'm on Windows 7 x64. ...

VS2008 - 'Set as startup project' setting dissapearing.

I have a solution with a bunch of projects in it. The 'startup' project is a ASP.NET MVC Web Application. I set it as the startup project (by right clicking on it in Solution Explorer and selecting 'set as startup project'. The project title goes bold and everything works fine for a while. Then I will be editing one of the suppor...

Automate the webcam to take a picture

Can someone help me with a code snippet in visual basic 2010 to automate the webcam to click a picture based on if any key is pressed on the keyboard?..thanks:) ...

Visual Studio 2010 and Test Driven Development

I'm making my first steps in Test Driven Development with Visual Studio. I have some questions regarding how to implement generic classes with VS 2010. First, let's say I want to implement my own version of an ArrayList. I start by creating the following test (I'm using in this case MSTest): [TestMethod] public void Add_10_Items_Remove...

App_GlobalResources broken in ASP.NET MVC 2 and VS 2010?

Good day! I have installed VS 2010 Express and resource files in App_GlobalResources are not compiled into strongly typed Resources class. More specifically no more code generation take place. I have tested with my MVC project (updated from MVC 1.0 and VS2008) and with blank ASP.NET MVC 2.0 project generated by VS and got error (even ...

How to set up source control in VS2010

Hi, I want to set up source control for my project, but it seems like I need a server for this. I've never done this before, and I couldn't find anything helpfull yet. Is there any way to host a server locally so Visual studio can use it? Or do you know any online (free) servers I can use? By the way, if source control is not actually ...

Replacing/Extending Visual Studio's Generate Stub in Visual Studio 2010

When we write the name of a method that doesn't exist, Visual Studio 2010 asks us if we'd like to generate a method stub with that name. What I'd like to know if is it possible to replace that same code stub generating command with one made by myself. I never did any kind of extensibility programming for Visual Studio so I have a couple ...

Changing folder names in Visual Studio when using SVN

I am using VS2008/VS2010 with Resharper 5, TortoiseSVN 1.6.8.19260-x64, and AnkhSVN 2.1.8420.8. Most operations I do in Visual Studio are reflected fine in SVN, however, renaming folders in a project can cause problems when I try to submit my changes. Also all the namespaces in the C# source files under the renamed folder need to be upda...