visual-studio

Remote debugging accross domains

I have two machines in two different domanins. On both I have VS 2005 installed. I want remote debug between them. Without autentication it is possible but I want to debug managed code. I don't want to debug directly since it is really crappy machine. When I try to attach wiht debugger I get message "The trust relationship between this ...

Manual steps to upgrade VS.NET solution and target .NET framework?

After you've let the VS.NET (2008 in this case) wizard upgrade your solution, do you perform any manual steps to upgrade specific properties of your solution and projects? For instance, you have to go to each project and target a new version of the framework (from 2.0 to 3.5 in this case). Even after targeting a new version of the framew...

Moving from Visual Studio 2005 to 2008 and .NET 2.0

Hello, I'm currently using VS2005 Profesional and .NET 2.0, and since our project is rather large (25 projects in the solution), I'd like to try VS 2008, since its theoretically faster with larger projects. Before doing such thing, i'd like to know if what I've read is true: can I use VS2008 in ".net 2.0" mode? I don't want my custome...

programmatically retrieve Visual Studio install directory

I know there is a registry key indcating the install directory, but don't remember what it is off-hand. Currently interested in VS2008 install directory, though it wouldn't hurt to list others for future reference. ...

Display solution/file path in Visual Studio IDE

I frequently work with multiple instances of Visual Studio, often working on different branches of the same solution. VC6 used to display the full path of the current source file in its title bar, but Visual Studio 2005 doesn't appear to do this. This makes it slightly more awkward than it should be to work out which branch of the solut...

Source Versioning for Visual Studio Express

Is there any Visual Studio Express plug ins for source versioning? I am starting a project on my own and only have the Express version of Visual Studio 2008. ...

Visual Studio 08 Spell Check Addin?

If possible one that supports at least spell checking: C# string literals HTML content Comments ...

Forcing the Solution Explorer to select the file in the editor in visual studio 2005

In Visual Studio 2005, whenever I would view a file in the main editor, the Solution Explorer would find and highlight that file. Some time ago, this stopped working and the Solution Explorer would do nothing. This has become quite a pain since following a chain of "Go To Definition"s can lead you all over your solution. Where is the ...

How do I check the active solution configuration Visual Studio built with at runtime?

I would like to enable/disable some code based on a custom solution configuration I added in Visual Studio. How do I check this value at runtime? ...

How to get the libraries you need into the bin folder when using IoC/DI

I'm using Castle Windsor to do some dependency injection, specifically I've abstracted the DAL layer to interfaces that are now being loaded by DI. Once the project is developed & deployed all the .bin files will be in the same location, but for while I'm developing in Visual Studio, the only ways I can see of getting the dependency inj...

Does Visual Studio Server Explorer support custom database providers?

I had used Server Explorer and related tools for graphical database development with Microsoft SQL Server in some of my learning projects - and it was a great experience. However, in my work I deal with Oracle DB and SQLite and my hobby projects use MySQL (because they are hosted on Linux). Is there a way to leverage the database-relate...

Visual Studio identical token highlighting

I coded a Mancala game in Java for a college class this past spring, and I used the Eclipse IDE to write it. One of the great (and fairly simple) visual aids in Eclipse is if you select a particular token, say a declared variable, then the IDE will automatically highlight all other references to that token on your screen. Notepad++, my...

Installing Team Foundation Server

What are the best practices in setting up a new instance of TFS 2008 Workgroup edition? Specifically, the constraints are as follows: Must install on an existing Windows Server 2008 64 bit TFS application layer is 32 bit only Should I install SQL Server 2008, Sharepoint and the app layer in a virtual instance of Windows Server 200...

Is there a way to do "intraWord" text navigation in VS?

On Windows, Ctrl+Right Arrow will move the text cursor from one "word" to the next. While working with Xcode on the Mac, they extended that so that Option+Right Arrow will move the cursor to the beginning of the next subword. For example, if the cursor was at the beginning of the word myCamelCaseVar then hitting Option+Right Arrow will...

generation of designer file failed

Every few days VS2008 decides to get mad at me and fails to generate a designer file claiming it cannot find the file specified and that it's missing an assembly. Here's the scenario: The aspx page has a reference to a custom user control (inheriting UserControl) which references another assembly in the backend. There are many other r...

How to remove "VsDebuggerCausalityData" data from SOAP message?

I've got a problem where incoming SOAP messages from one particular client are being marked as invalid and rejected by our XML firewall device. It appears extra payload data is being inserted by Visual Studio; we're thinking the extra data may be causing a problem b/c we're seeing "VsDebuggerCausalityData" in these messages but not in ot...

Integrating a custom gui framework with the VS designer

Imagine you homebrew a custom gui framework that doesn't use windows handles (compact framework, so please don't argue with "whys"). One of the main disadvantages of developing such a framework is that you lose compatability with the winform designer. So my question is to all of you who know a lot about VS customisation, would there be ...

Visual Studio Hosting Process and "The operation could not be completed"

When trying to execute from within Visual Studio 2008 your application and you get the (uninformative) message "The operation could not be completed". The solution to this is to turn off the "Visual Studio Hosting Process". The problem with turning off this "hosting process" is that all the "run and rewrite" functionality is no longer ...

How can you make a .net windows forms project look fresh?

I'm working on a visual studio 2005 vb.net windows forms project that's been around for several years. It's full of default textboxes, labels, dropdowns, datagrids, datetime pickers -- all the standard stuff. The end result is a very gray, old-looking project. What would be the best approach to making this project look fresh and snazz...

What Code Snippet Editor Do You Use?

Part of my "sort your development life out, Rob" push has been me taking note of the fact that I do not have a library of code snippets (and Jeff did a post too). Now I have a few, but I know I should really be working towards creating my own library to boost my productivity. One thing I have started doing is leaving my code snippet ed...