DNN Blog

May 20

Posted by: Philip Beadle
Thursday, May 20, 2010 1:46 PM  RssIcon

In the latest release of DNN 5.4.2 you will find there is now a VS2010 solution and a VS2008 solution file.  The VS2010 one is the primary solution that we use internally to build DNN.  If you look in the module projects folders you will see there are two proj files for each project now.  The one with .VS2008 in the file name gets opened when you use the VS2008 solution.  The reason for this is that the upgrade to VS2010 touches the web application project files and changes the target used to

<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" />

This will not work on a machine with only VS2008 installed.  So I built a new MSBuild task that post processes the project files and creates a copy with

<Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v9.0\WebApplications\Microsoft.WebApplication.targets" />

in it which will open in VS2008.

Enjoy.

Tags:
Categories:
Location: Blogs Parent Separator Philip Beadle

2 comment(s) so far...


Gravatar

Re: DNN 5.4.2 supports VS2010 and VS2008

We include both import directives, with a conditional attribute on them, based on the Visual Studio version that's opening the project:




Is there a reason you went the separate projects path instead?

By Brian Dukes on   Wednesday, May 26, 2010 4:43 AM
Gravatar

Re: DNN 5.4.2 supports VS2010 and VS2008

Hi Brian, no reason just didnt think of your idea. Could you share here.

By Philip Beadle on   Wednesday, May 26, 2010 4:44 AM
Attend A Webinar
Free Demo Site
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft .NET. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates Snowcovered.com where users purchase third party apps for the platform.