diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2010-02-02 21:01:02 -0800 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2010-02-02 21:01:02 -0800 |
commit | 7888e0f186868d376fa6fa1da4d2d894f0ef323b (patch) | |
tree | ae9cafa43f0fb8dfc53e6caaaf7377fe1bfb5db4 | |
parent | 89b05134925d3c56840c052613cd0616663d2a9d (diff) | |
download | DotNetOpenAuth-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.proj | 17 |
1 files changed, 16 insertions, 1 deletions
@@ -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"> |