summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2010-02-02 21:01:02 -0800
committerAndrew Arnott <andrewarnott@gmail.com>2010-02-02 21:01:02 -0800
commit7888e0f186868d376fa6fa1da4d2d894f0ef323b (patch)
treeae9cafa43f0fb8dfc53e6caaaf7377fe1bfb5db4
parent89b05134925d3c56840c052613cd0616663d2a9d (diff)
downloadDotNetOpenAuth-7888e0f186868d376fa6fa1da4d2d894f0ef323b.zip
DotNetOpenAuth-7888e0f186868d376fa6fa1da4d2d894f0ef323b.tar.gz
DotNetOpenAuth-7888e0f186868d376fa6fa1da4d2d894f0ef323b.tar.bz2
Added missing transform of extension.vsixmanifest files in project template VSIX files.
-rw-r--r--build.proj17
1 files changed, 16 insertions, 1 deletions
diff --git a/build.proj b/build.proj
index 0aa2b4b..6d728c0 100644
--- a/build.proj
+++ b/build.proj
@@ -463,13 +463,28 @@
<VSGalleryVsix>$(DropsRoot)$(ProductName) %(VSGalleryProjectTemplates.FileName)-$(BuildVersion).vsix</VSGalleryVsix>
<TopLevelTemplate>%(VSGalleryProjectTemplates.FileName)</TopLevelTemplate>
<TargetPath>$(IntermediatePath)%(VSGalleryProjectTemplates.FileName).vsix\extension.vsixmanifest</TargetPath>
+ <Transform>true</Transform>
+ <BeforeTokens>$version$</BeforeTokens>
+ <AfterTokens>$(BuildVersion)</AfterTokens>
+ <SkipUnchangedFiles>false</SkipUnchangedFiles>
</VSGalleryVsixSources>
<VSGalleryVsixTargets Include="@(VSGalleryVsixSources->'%(TargetPath)')">
<WorkingDirectory>$(IntermediatePath)%(TopLevelTemplate).vsix</WorkingDirectory>
</VSGalleryVsixTargets>
+ <VSGalleryVsixPathsToPurge Include="@(VSGalleryProjectTemplates->'$(IntermediatePath)%(FileName).vsix')"/>
</ItemGroup>
- <HardLinkCopy SourceFiles="@(VSGalleryVsixSources)" DestinationFiles="%(VSGalleryVsixSources.TargetPath)" />
+ <HardLinkCopy
+ SourceFiles="@(VSGalleryVsixSources)"
+ DestinationFiles="%(VSGalleryVsixSources.TargetPath)"
+ Condition=" '%(VSGalleryVsixSources.Transform)' != 'true' "/>
+ <CopyWithTokenSubstitution
+ SourceFiles="@(VSGalleryVsixSources)"
+ DestinationFiles="%(VSGalleryVsixSources.TargetPath)"
+ Condition=" '%(VSGalleryVsixSources.Transform)' == 'true' "/>
+ <Purge
+ Directories="@(VSGalleryVsixPathsToPurge)"
+ IntendedFiles="@(VSGalleryVsixTargets)" />
</Target>
<Target Name="vsix" DependsOnTargets="VsixLayout;_SetDropProperties">