diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2010-02-14 16:54:50 -0800 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2010-02-14 16:54:50 -0800 |
commit | c3522dc00859c16f3c03bac73dbf539e04a4fb84 (patch) | |
tree | 06b64f14bfd42472db08d81557035d29d1a3a947 /projecttemplates | |
parent | 892486786e25e8d6090c084d97da50347ba746ce (diff) | |
download | DotNetOpenAuth-c3522dc00859c16f3c03bac73dbf539e04a4fb84.zip DotNetOpenAuth-c3522dc00859c16f3c03bac73dbf539e04a4fb84.tar.gz DotNetOpenAuth-c3522dc00859c16f3c03bac73dbf539e04a4fb84.tar.bz2 |
VS2008 Project Templates are now generated.
Diffstat (limited to 'projecttemplates')
-rw-r--r-- | projecttemplates/projecttemplates.proj | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/projecttemplates/projecttemplates.proj b/projecttemplates/projecttemplates.proj index 278da12..b816b73 100644 --- a/projecttemplates/projecttemplates.proj +++ b/projecttemplates/projecttemplates.proj @@ -4,6 +4,7 @@ <PropertyGroup> <ProjectTemplateMaxPath Condition=" '$(ProjectTemplateMaxPath)' == '' ">50</ProjectTemplateMaxPath> <ProjectTemplatesLayoutPath>$(IntermediatePath)projecttemplates\</ProjectTemplatesLayoutPath> + <ProjectTemplates2008LayoutPath>$(IntermediatePath)projecttemplates2008\</ProjectTemplates2008LayoutPath> <ExtensionVsixLayoutDirectory>$(IntermediatePath)Vsix\</ExtensionVsixLayoutDirectory> <LayoutDependsOn> @@ -152,5 +153,28 @@ IntendedFiles="@(ProjectTemplateIntendedFiles)" /> </Target> + <Target Name="Layout2008" DependsOnTargets="Layout"> + <ItemGroup> + <ProjectTemplates2008Source Include="$(ProjectTemplatesLayoutPath)**" /> + <ProjectTemplates2008Layout Include="@(ProjectTemplates2008Source->'$(ProjectTemplates2008LayoutPath)%(RecursiveDir)%(FileName)%(Extension)')" /> + <ProjectTemplates2008Layout> + <HardLink Condition=" '%(Extension)' != '.csproj' ">true</HardLink> + </ProjectTemplates2008Layout> + + <VS2008ProjectTemplates Include="@(ProjectTemplates2008Layout)" Condition="'%(Extension)' == '.vstemplate'" /> + <TopLevelVS2008ProjectTemplates Include="@(VS2008ProjectTemplates)" Condition="'%(RootDir)%(Directory)' == '$(ProjectTemplates2008LayoutPath)'" /> + </ItemGroup> + + <HardLinkCopy SourceFiles="@(ProjectTemplates2008Source)" DestinationFiles="@(ProjectTemplates2008Layout)" /> + + <DowngradeProjects + Projects="@(ProjectTemplates2008Layout)" + Condition="'%(Extension)' == '.csproj'" + DowngradeMvc2ToMvc1="true" + /> + + <Purge Directories="$(ProjectTemplates2008LayoutPath)" IntendedFiles="@(ProjectTemplates2008Layout)" /> + </Target> + <Import Project="$(ProjectRoot)tools\DotNetOpenAuth.automated.targets"/> </Project>
\ No newline at end of file |