Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <PropertyGroup>
- <CopyAllFilesToSingleFolderForPackageDependsOn>
- CustomCollectFiles;
- $(CopyAllFilesToSingleFolderForPackageDependsOn);
- </CopyAllFilesToSingleFolderForPackageDependsOn>
- </PropertyGroup>
- <Target Name="CustomCollectFiles">
- <ItemGroup>
- <_CustomFiles Include="..Extra Files***" />
- <FilesForPackagingFromProject Include="%(_CustomFiles.Identity)">
- <DestinationRelativePath>Extra Files%(RecursiveDir)%(Filename)%(Extension)</DestinationRelativePath>
- </FilesForPackagingFromProject>
- </ItemGroup>
- </Target>
- <Import Project="$(MSBuildExtensionsPath32)MicrosoftVisualStudiov10.0WebApplicationsMicrosoft.WebApplication.targets" />
- <ItemGroup>
- <ExcludeFromPackageFiles Include="Sample.Debug.xml">
- <FromTarget>Project</FromTarget>
- </ExcludeFromPackageFiles>
- </ItemGroup>
- <PropertyGroup>
- <ExcludeFilesFromPackageDependsOn>
- $(ExcludeFilesFromPackageDependsOn);
- _ExcludeAzureDlls
- </ExcludeFilesFromPackageDependsOn>
- </PropertyGroup>
- <Target Name="_ExcludeAzureDlls">
- <ItemGroup>
- <FilesForPackagingFromProjectWithNoAzure Include="@(FilesForPackagingFromProject)"
- Exclude="%(RootDir)%(Directory)*Azure*.dll" />
- <AzureFiles Include="@(FilesForPackagingFromProject)"
- Exclude="@(FilesForPackagingFromProjectWithNoAzure)" />
- <ExcludeFromPackageFiles Include="@(AzureFiles)">
- <FromTarget>_ExcludeAzureEnvironmentDlls</FromTarget>
- </ExcludeFromPackageFiles>
- </ItemGroup>
- </Target>
- <Content Include="Bin3rdPartyNative.dll" />
- <Target Name="BeforeBuild">
- <Message Text="Copy $(SolutionDir)Library3rdPartyNative.dll to '$(TargetDir)'3rdPartyNative.dll" Importance="high" />
- <Copy SourceFiles="$(SolutionDir)Library3rdPartyNative.dll" DestinationFiles="$(TargetDir)3rdPartyNative.dll" />
- </Target>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement