DCSIMG
Visual Studio - Miscellaneous Debris

Miscellaneous Debris

Thoughts and Snippets

Browse by Tags

All Tags » Visual Studio (RSS)
Remote Debugging through fire, snow or fog
Remote Debugging in Visual Studio is a wonderful feature, especially during the later stages of testing and deployment, and even (if all else fails) when in production, but getting it to work is rarely smooth. Everything is fine if both the computer running VS and the one running the application are in the same domain, but when they aren’t, things start to break, fast. I So for those stuck debugging remote applications in different domains, here’s a quick guide to east the pain. On the the remote...
Upgrading all projects to .NET 3.5
A simple macro to change the Target Framework for a project from .NET 2.0 to .NET 3.5, hacked together in a few minutes. This will fail for C++/CLI projects, and possibly VB.NET projects (haven't checked). Works fine for regular C# projects, as well as web projects:   For Each proj As Project In DTE.Solution.Projects Try proj.Properties.Item( "TargetFramework" ).Value = 196613 Debug.Print( "Upgraded {0} to 3.5" , proj.Name) Catch ex As Exception Debug.Print( "Failed...
Another minor C#/C++ difference - adding existing files
Another minor detail that bit me for a few minutes today. I'm posting this so I'll see it and remember, and possibly lodge it in other people's consciousness. Using Visual Studio 2005, adding an existing .cs file to a C# project will cause a copy of that file to be created in the project directory. If I want to link to the original file, I need to explicitly choose Add As Link from the dropdown on the Add button. C++ projects, however, have the opposite behavior. Adding an existing item...
Sharepoint Extensions for Visual Studio - released!
Finally, we have a full, RTM version of the Visual Studio extensions! The download page says March 15th, but I haven't seen anyone mention it around yet - could it be just me that missed the boat? I got it from Mark Bower's blog , but haven't seen it mentioned anywhere else. On one hand, this is great – the last version was from November ’06, and crashed often . Deployment seemed to work only for empty web-part projects and the Solution Generator crashed when trying to dump a whole site. On the other...