diff options
-rw-r--r-- | build.proj | 9 | ||||
-rw-r--r-- | vsix/extension.vsixmanifest | 3 |
2 files changed, 7 insertions, 5 deletions
@@ -308,6 +308,9 @@ </Target> <Target Name="ProjectTemplates2010" DependsOnTargets="ProjectTemplatesLayout"> + <PropertyGroup> + <ProjectTemplateSubdirectory>$(ExtensionVsixLayoutDirectory)PT\CSharp\Web\</ProjectTemplateSubdirectory> + </PropertyGroup> <ItemGroup> <ProjectTemplates2010Source Include="$(ProjectTemplatesLayoutPath)**" /> <ProjectTemplates2010Layout Include="@(ProjectTemplates2010Source->'$(VS2010ProjectTemplatesDirectory)%(RecursiveDir)%(FileName)%(Extension)')" /> @@ -330,19 +333,19 @@ <ItemGroup> <!-- Include in each template .zip file the top-level .vstemplate file itself. --> <VS2010ProjectTemplateContents Include="@(TopLevelVS2010ProjectTemplates)"> - <ZipFile>$(ExtensionVsixLayoutDirectory)%(FileName)\%(FileName).zip</ZipFile> + <ZipFile>$(ProjectTemplateSubdirectory)%(FileName).zip</ZipFile> <WorkingDirectory>$(VS2010ProjectTemplatesDirectory)</WorkingDirectory> </VS2010ProjectTemplateContents> <!-- Now throw in all the files in each of the project-level template's directories and their children. --> <VS2010ProjectTemplateContents Include="@(VS2010TemplateItemContents)"> - <ZipFile>$(ExtensionVsixLayoutDirectory)%(VS2010TemplateItemContents.TopLevelTemplateFileName)\%(VS2010TemplateItemContents.TopLevelTemplateFileName).zip</ZipFile> + <ZipFile>$(ProjectTemplateSubdirectory)%(VS2010TemplateItemContents.TopLevelTemplateFileName).zip</ZipFile> <WorkingDirectory>$(VS2010ProjectTemplatesDirectory)</WorkingDirectory> </VS2010ProjectTemplateContents> <!-- Include the template icon for each .zip file. --> <VS2010ProjectTemplateContents Include="@(TopLevelVS2010ProjectTemplates->'$(VS2010ProjectTemplatesDirectory)__TemplateIcon.ico')"> - <ZipFile>$(ExtensionVsixLayoutDirectory)%(TopLevelVS2010ProjectTemplates.FileName)\%(TopLevelVS2010ProjectTemplates.FileName).zip</ZipFile> + <ZipFile>$(ProjectTemplateSubdirectory)%(TopLevelVS2010ProjectTemplates.FileName).zip</ZipFile> <WorkingDirectory>$(VS2010ProjectTemplatesDirectory)</WorkingDirectory> </VS2010ProjectTemplateContents> diff --git a/vsix/extension.vsixmanifest b/vsix/extension.vsixmanifest index 50d4537..4bb59dc 100644 --- a/vsix/extension.vsixmanifest +++ b/vsix/extension.vsixmanifest @@ -22,8 +22,7 @@ </Identifier> <References /> <Content> - <ProjectTemplate>WebFormsRelyingParty</ProjectTemplate> - <ProjectTemplate>MvcRelyingParty</ProjectTemplate> + <ProjectTemplate>PT</ProjectTemplate> <VsPackage>DotNetOpenAuthSDK.pkgdef</VsPackage> </Content> </Vsix> |