AyCode.Core/Directory.Build.props

23 lines
1.4 KiB
XML

<Project>
<PropertyGroup>
<!-- Centralized results directories -->
<Test_Benchmark_ResultsDir>$(MSBuildThisFileDirectory)Test_Benchmark_Results</Test_Benchmark_ResultsDir>
<TestResultsDirectory>$(Test_Benchmark_ResultsDir)\MSTest</TestResultsDirectory>
<!-- Provide a property for benchmark artifacts to be used by Benchmark projects if referenced -->
<BenchmarkArtifactsPath>$(Test_Benchmark_ResultsDir)\Benchmark</BenchmarkArtifactsPath>
<!-- Global runsettings file (placed at repository root) used by dotnet test when configured -->
<RunSettingsFile>$(MSBuildThisFileDirectory)test.runsettings</RunSettingsFile>
<!-- Expose MSBuild property that test runners may use -->
<VSTestResultsDirectory>$(TestResultsDirectory)</VSTestResultsDirectory>
<!-- Configuration list seen by the VS Configuration Manager. Directory.Build.props is implicitly
imported by every csproj evaluation BEFORE the SDK's targets, so the list is visible to the
Configuration Manager UI (which reads the root <PropertyGroup>, NOT <Import>-ed content).
SGenOnly tied to docs/BINARY/BINARY_STRICT_SGEN.md — opt-in SGen-only build target. The
per-project sln-mapping (ProjectConfigurationPlatforms in the .sln) decides which projects
actually build under SGenOnly; the others stay unmapped (no Build.0). -->
<Configurations>Debug;Release;Product;SGenOnly</Configurations>
</PropertyGroup>
</Project>