visual-studio

How to Debug .NET Mobile Device Application using multiple instances of Device Emulator

I would like to Debug .NET Mobile Device Application using multiple instances of Device Emulator. If I right click the project and go to Debug -> Start new instance in Visual Studio 2008 when an instance is already running I get the error Unable to copy file "obj\Debug\MyMobileApp.exe" to "bin\Debug\MyMobileApp.exe". The proce...

LINQ to SQL: Multiple / Single .dbml per project?

I've read Rick Strahl's article on Linq to SQL DataContext Lifetime Management hoping to find some answers on how I would manage my .dbml files since they are so closely related to DataContext. Unfortunately, Rick's article seems to be focused on DataContext lifetime at runtime though, and my question is concerned with how the .dbml's s...

Visual Studio 2005 not building solutions

I have a solution with about 20 projects (that use Devexpress controls) in and when I do a normal solution build (ctrl-shift-B) it says everything is completed sucessfully when in actualy fact it has done nothing. To get it to build i have to right click on the solution and use the batch build option. I've tried deleting the solution a...

What is the optimum number of projects in a Visual Studio 2008 solution?

What is the optimum number of projects in a Visual Studio 2008 solution? We have one Visual Studio 2008 solution that is around 50 projects right now. It will likely continue to grow as the bulk of the projects within the solution consist of plugin assemblies for the main application. If it seems like "too many projects" in one soluti...

Visual Studio 2008 sometimes won't open .aspx html markup

Every now and again I encounter a problem where Visual Studio Professional 2008 (SP1) refuses to open an aspx page. My site is in a Web Application Project. Double clicking on the aspx page in solution explorer just causes the tree view node with the code behind and .designer.cs to collapse and expand, it's almost as if VS thinks the ...

Do you use any of the features in the various Visual Studio 2008 Team editions?

We're contemplating Visual Studio licensing and need to decide whether licenses for Architecture/Database/Test editions are necessary. Does anyone have enough experience with these tools to say whether they are useful? I'd love some specific examples. I'll also accept links to non Microsoft sites that provide some sort of overview of ...

How to bootstrap NAnt environment from an existing solution (.sln)

I have a Visual Studio 2005 solution (.sln) with a mix of .NET and C++ projects. What is the best way to generate the .build file I will need to run my build process with NAnt. I'm new to using NAnt, and I'm not sure how to set it up. Will I have to update the .build file manually every time there is a new source file in any of the proje...

Bazaar (bzr) integration with Visual Studio

What's the best way to use Bazaar (bzr) as the version control system in Visual Studio 2008? ...

Which do you like - Visual SVN or Ankhsvn?

Putting aside the fact that one is open-source, which tool is more feature rich and performant for SVN support within Visual Studio. ...

Designing the Architecture, separating projects. Am I "over thinking" ?

Imagine having the following scenario: You need to create a system where the Back end is seperate from the Front end, which is always important when programming, of course. But What if you want to be able to change the back end completely without changing the front end? When creating a big website for instance, I'd go with the followin...

How to include sub-directories in Visual Studio?

Hi I have to include many header files, which are in different sub-directories. Is there a way in Visual Studio (I am using 2005 edition) to set one include path that Visual Studio will search also the sub-directories for header files? ...

Automatic tracking of build number in VS 2005?

In Visual Studio 2005, is there an easy way to automatically increment the assembly/file build numbers after a successful build? Emphasis on easy. I would like to track my build version, without having to set up CruiseControl or some similar tool. ...

How can I debug with a single proc on a multi-proc system?

My development machine is a quad core system, but I just ran into ( and I am still debugging ), and problem when my application is deployed to single processor systems. I get a dead lock. I would like to be able to debug using only a single processor, rather than having to build a development VM to debug with. Is it possible to tell V...

Team System 2008 and VS 2005 code

Our company is transitioning code from VS 2005. I know they won't be able to use VS 2008 to access it, but we have the patch to enable web access for TFS 2008 applied to our TFS server. This means they can access the source code via the web, but do the work in VS 2005. The code will eventually be rewritten in VS 2008, but we need to...

What do you use (free) to format C# code?

Are there any VS.NET plugins that will format a selection of code for printing or emailing and is also free? ...

How do I set up Visual Studio 2008 to program in Perl?

My company gave me VS2008 for web development in C#/ASP.NET. I do a lot of Perl programming too and I'd like to start using VS for that so I can have a consistent work environment... but am having real trouble figuring out how to do so. VS has a lot of nice features but seems pretty hostile towards languages it doesn't support out of t...

Can I create "Solution" level items in a Visual Studio Project Template?

There's a lot of great information on MSDN dealing with creating Visual Studio templates. I've been specifically working through a Multi-Project Solution (http://msdn.microsoft.com/en-us/library/ms185308(VS.80,printer).aspx) I have everything working in my template (4 projects + 2 Solution Folders - 1 for Tests, and 1 for Libraries tha...

DSL Tools: How to create the DLL as weak-named

Hello, I have a DSL Tools solution. I need to add a weak-named reference to this project. Because the DSL Tools project DLL is strong-named i cannot used the weak-named DLL. I cannot make the DLL strong-named because i cannot recompile it. I tried to make my DSL Tools project DLL weak-named by going to the Dsl and DslPackage project ...

Are there any add-ons for Visual Studio to help manage todo comments?

Our solution has a lot of todo comments, but unfortunately it seems the only way to sort them is by file. Sorting by project would give me a much better overview of what I'm actually responsible for. Just wondering if there's any way to do this or any add-ins that provide better functionality. ...

With NUnit, what project type in Visual Studio do I need to use to create my test project?

When I am creating a test project in Visual Studio, do I just create a C# console project type, then import Nunit? Does the GUI then hook into this project somehow? There seems to be tons of nunit related .dll's, which ones do I need? ...