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 | |
parent | 892486786e25e8d6090c084d97da50347ba746ce (diff) | |
download | DotNetOpenAuth-c3522dc00859c16f3c03bac73dbf539e04a4fb84.zip DotNetOpenAuth-c3522dc00859c16f3c03bac73dbf539e04a4fb84.tar.gz DotNetOpenAuth-c3522dc00859c16f3c03bac73dbf539e04a4fb84.tar.bz2 |
VS2008 Project Templates are now generated.
-rw-r--r-- | projecttemplates/projecttemplates.proj | 24 | ||||
-rw-r--r-- | vsi/vsi.proj | 18 |
2 files changed, 24 insertions, 18 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 diff --git a/vsi/vsi.proj b/vsi/vsi.proj index 7ad2a9b..51e0f58 100644 --- a/vsi/vsi.proj +++ b/vsi/vsi.proj @@ -14,27 +14,9 @@ <Target Name="ProjectTemplates2008" DependsOnTargets="ProjectTemplatesLayout"> <ItemGroup> - <ProjectTemplates2008Source Include="$(ProjectTemplatesLayoutPath)**" /> - <ProjectTemplates2008Layout Include="@(ProjectTemplates2008Source->'$(VS2008ProjectTemplatesDirectory)%(RecursiveDir)%(FileName)%(Extension)')" /> - <ProjectTemplates2008Layout> - <HardLink Condition=" '%(Extension)' != '.csproj' ">true</HardLink> - </ProjectTemplates2008Layout> - - <VS2008ProjectTemplates Include="@(ProjectTemplates2008Layout)" Condition="'%(Extension)' == '.vstemplate'" /> - <TopLevelVS2008ProjectTemplates Include="@(VS2008ProjectTemplates)" Condition="'%(RootDir)%(Directory)' == '$(VS2008ProjectTemplatesDirectory)'" /> <VS2008ProjectTemplateZipFiles Include="@(TopLevelVS2008ProjectTemplates->'%(RootDir)%(Directory)%(FileName).zip')" /> </ItemGroup> - <HardLinkCopy SourceFiles="@(ProjectTemplates2008Source)" DestinationFiles="@(ProjectTemplates2008Layout)" /> - - <DowngradeProjects - Projects="@(ProjectTemplates2008Layout)" - Condition="'%(Extension)' == '.csproj'" - DowngradeMvc2ToMvc1="true" - /> - - <Purge Directories="$(VS2008ProjectTemplatesDirectory)" IntendedFiles="@(ProjectTemplates2008Layout)" /> - <DiscoverProjectTemplates TopLevelTemplates="@(TopLevelVS2008ProjectTemplates)"> <Output TaskParameter="ProjectTemplates" ItemName="SubVS2008Templates" /> <Output TaskParameter="ProjectTemplateContents" ItemName="VS2008TemplateItemContents" /> |