AzureIntegration.targets 1.1 KB

123456789101112131415161718192021222324252627282930
  1. <Project>
  2. <PropertyGroup>
  3. <AzureIntegrationProjectRoot>$(MSBuildThisFileDirectory)..\modules\AzureIntegration\</AzureIntegrationProjectRoot>
  4. </PropertyGroup>
  5. <Target Name="BuildAzureIntegration" DependsOnTargets="PrepareOutputPaths;GeneratePropsFiles">
  6. <PropertyGroup>
  7. <AzureIntegrationProjProperties>
  8. AspNetUniverseBuildOffline=true;
  9. RepositoryRoot=$(AzureIntegrationProjectRoot);
  10. DotNetRestoreSourcePropsPath=$(GeneratedRestoreSourcesPropsPath);
  11. DotNetPackageVersionPropsPath=$(GeneratedPackageVersionPropsPath);
  12. BuildNumber=$(BuildNumber);
  13. Configuration=$(Configuration);
  14. IsFinalBuild=$(IsFinalBuild);
  15. </AzureIntegrationProjProperties>
  16. </PropertyGroup>
  17. <MSBuild Projects="$(MSBuildProjectFullPath)"
  18. Targets="$(AzureIntegrationProjectTargets)"
  19. Properties="$(AzureIntegrationProjProperties)" />
  20. <ItemGroup>
  21. <AzureIntegrationArtifacts Include="$(AzureIntegrationProjectRoot)artifacts\build\*" />
  22. </ItemGroup>
  23. <Copy SourceFiles="@(AzureIntegrationArtifacts)" DestinationFolder="$(BuildDir)" />
  24. </Target>
  25. </Project>