Archive
Monthly
Go
|
|
DNN Blog
May
20
Posted by:
Philip Beadle
Thursday, May 20, 2010 1:46 PM
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.
2 comment(s) so far...
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
|
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
|
|