Created
January 6, 2012 12:42
-
-
Save clausjoergensen/1570447 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ItemGroup> | |
<!-- Specify the folder, or files we want to include --> | |
<AdditionalPublishFiles Include="ListAndLabel\*.*"> | |
<Visible>False</Visible> | |
</AdditionalPublishFiles> | |
<!-- Alternative syntax, for individual files --> | |
<!-- | |
<AdditionalPublishFiles Include="ListAndLabel\cmbr15.dll;ListAndLabel\Cmct15.dll"> | |
<Visible>False</Visible> | |
</AdditionalPublishFiles> | |
--> | |
</ItemGroup> | |
<Target Name="BeforeBuild"> | |
<!-- Copies the files to the output folder --> | |
<Copy DestinationFolder="$(OutputPath)" | |
SourceFiles="@(AdditionalPublishFiles)" | |
SkipUnchangedFiles="false" /> | |
<!-- Creates a PublishItem for each file in the AdditionalPublishFiles Include --> | |
<CreateItem Include="@(AdditionalPublishFiles)" | |
AdditionalMetadata="TargetPath=%(FileName)%(Extension);IsDataFile=false"> | |
<!-- Sets the parameter to 'Include' for each item in the _DeploymentManifestFiles --> | |
<Output TaskParameter="Include" | |
ItemName="_DeploymentManifestFiles" /> | |
</CreateItem> | |
</Target> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment