Created
March 30, 2016 06:14
-
-
Save skttl/0e1412efe9452bcc24481aed9f639554 to your computer and use it in GitHub Desktop.
Include ucommerce bins from NonNugetAssemblies when publishing through msdeploy
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
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<!-- add ucommerce assemblies --> | |
<!-- http://www.asp.net/mvc/overview/deployment/visual-studio-web-deployment/deploying-extra-files --> | |
<Target Name="CustomCollectFiles"> | |
<ItemGroup> | |
<_CustomFiles Include="..\NonNugetAssemblies\uCommerce\**\*" /> | |
<FilesForPackagingFromProject Include="%(_CustomFiles.Identity)"> | |
<DestinationRelativePath>bin\%(RecursiveDir)%(Filename)%(Extension)</DestinationRelativePath> | |
</FilesForPackagingFromProject> | |
</ItemGroup> | |
</Target> | |
<PropertyGroup> | |
<CopyAllFilesToSingleFolderForPackageDependsOn> | |
CustomCollectFiles; | |
$(CopyAllFilesToSingleFolderForPackageDependsOn); | |
</CopyAllFilesToSingleFolderForPackageDependsOn> | |
<CopyAllFilesToSingleFolderForMsdeployDependsOn> | |
CustomCollectFiles; | |
$(CopyAllFilesToSingleFolderForMsdeployDependsOn); | |
</CopyAllFilesToSingleFolderForMsdeployDependsOn> | |
</PropertyGroup> | |
</Project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment