AzureIntegration.targets 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. <Project>
  2. <PropertyGroup>
  3. <AzureIntegrationProjectRoot>$(MSBuildThisFileDirectory)..\src\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. VersionSuffix=$(VersionSuffix);
  13. BuildNumberSuffix=$(BuildNumberSuffix);
  14. Configuration=$(Configuration);
  15. IsFinalBuild=$(IsFinalBuild);
  16. </AzureIntegrationProjProperties>
  17. </PropertyGroup>
  18. <MSBuild Projects="$(MSBuildProjectFullPath)"
  19. Targets="$(AzureIntegrationProjectTargets)"
  20. Properties="$(AzureIntegrationProjProperties)" />
  21. <ItemGroup>
  22. <AzureIntegrationArtifacts Include="$(AzureIntegrationProjectRoot)artifacts\build\*" />
  23. </ItemGroup>
  24. <Copy SourceFiles="@(AzureIntegrationArtifacts)" DestinationFolder="$(ProductPackageOutputPath)" />
  25. </Target>
  26. </Project>