Geeks With Blogs


Microsoft Store

Support This Site

AddThis Social Bookmark Button

Locations of visitors to this page

Subscribers to this feed

TwitterCounter for @sdorman

Creative Commons License

Scott Dorman Microsoft MVP, Software Architect, Developer, Author

One of the new features in Visual Studio 2008 is the ability to target a project to any version of the .NET Framework from 2.0 and up. This is an excellent feature as it allows the entire development team to work with the same version of the IDE. Since it's a project based setting, it also allows you to mix projects in the same solution.

The interesting thing about multi-targeting is that it potentially allows developers to share projects across different versions of the IDE as well. Starting with Visual Studio 2005, the project files are simply MSBuild files and are actually compatible between versions. The problem is that the solution files are not compatible.

Rick Strahl has a great post that explains how to make Visual Studio 2005 and Visual Studio 2008 work together. The issue, as Steve Harman discovered, is with Web Application projects. This was discovered while Steve was upgrading the Subtext Project to work with Visual Studio 2008 and he describes the problem and solution in detail by using the Condition attribute in MSBuild.

Posted on Sunday, September 30, 2007 11:24 AM .NET (General) , Subtext | Back to top

Copyright © Scott Dorman | Powered by: