trimmingTests.props 980 B

1234567891011121314151617181920
  1. <Project>
  2. <PropertyGroup>
  3. <TrimmingTestDir>$([MSBuild]::NormalizeDirectory('$(ArtifactsBinDir)', 'trimmingTests'))</TrimmingTestDir>
  4. <TrimmingTestProjectsDir>$([MSBuild]::NormalizeDirectory('$(TrimmingTestDir)', 'projects'))</TrimmingTestProjectsDir>
  5. <ProjectTemplate>$(MSBuildThisFileDirectory)project.csproj.template</ProjectTemplate>
  6. <!-- These test projects cannot be run in helix, since there is nothing to publish. -->
  7. <BuildHelixPayload>false</BuildHelixPayload>
  8. <IsPublishable>false</IsPublishable>
  9. </PropertyGroup>
  10. <PropertyGroup>
  11. <!-- Microsoft.NET.Sdk needs a TFM set. Set a default one. -->
  12. <TargetFramework Condition="'$(TargetFramework)' == '' and '$(TargetFrameworks)' == ''">$(DefaultNetCoreTargetFramework)</TargetFramework>
  13. <!-- Enforce build order. Ensure the Shared Fx is built before generating and publishing the test apps. -->
  14. <RequiresDelayedBuild>true</RequiresDelayedBuild>
  15. </PropertyGroup>
  16. </Project>