<!-- Tests/infrastructure dependency versions. -->
<PropertyGroup>
- <MicrosoftNETCoreRuntimeCoreCLRPackageVersion>3.0.0-preview6.19280.1</MicrosoftNETCoreRuntimeCoreCLRPackageVersion>
<XunitPerformanceApiPackageVersion>1.0.0-beta-build0015</XunitPerformanceApiPackageVersion>
<MicrosoftDiagnosticsTracingTraceEventPackageVersion>2.0.43</MicrosoftDiagnosticsTracingTraceEventPackageVersion>
<MicrosoftDiagnosticsToolsRuntimeClientVersion>1.0.4-preview6.19326.1</MicrosoftDiagnosticsToolsRuntimeClientVersion>
<DependencyBuildInfo Include="@(RemoteDependencyBuildInfo)">
<RawVersionsBaseUrl>https://raw.githubusercontent.com/dotnet/versions</RawVersionsBaseUrl>
</DependencyBuildInfo>
-
- <XmlUpdateStep Include="CoreClr">
- <Path>$(MSBuildThisFileFullPath)</Path>
- <ElementName>MicrosoftNETCoreRuntimeCoreCLRPackageVersion</ElementName>
- <PackageId>Microsoft.NETCore.Runtime.CoreCLR</PackageId>
- </XmlUpdateStep>
</ItemGroup>
<!-- Override isolated build dependency versions with versions from Repo API. -->
<PropertyGroup>
<RunningOnUnix Condition="('$(RunningOnUnix)' == '') And ('$(MSBuildRuntimeType)' == 'Core') And ('$(OS)'!='Windows_NT')">true</RunningOnUnix>
- </PropertyGroup>
+ </PropertyGroup>
<!-- Common repo directories -->
<PropertyGroup>
<RestorePackages>false</RestorePackages>
</PropertyGroup>
- <PropertyGroup Condition="'$(OverwriteCoreClrPackageVersion)' == 'true'">
- <BuildVersionFile>$(BaseIntermediateOutputPath)BuildVersion-$(OfficialBuildId).props</BuildVersionFile>
- </PropertyGroup>
-
- <!-- If we want to overwrite the desired CoreCLR package version, we need to get the new version from the generated props file in artifacts/obj -->
- <Import Condition="'$(OverwriteCoreClrPackageVersion)' == 'true'" Project="$(BuildVersionFile)" />
-
- <PropertyGroup Condition="'$(OverwriteCoreClrPackageVersion)' == 'true'">
- <VersionToRestore Condition="'$(StableVersion)' != ''">$(StableVersion)</VersionToRestore>
- <VersionToRestore Condition="'$(VersionToRestore)' == ''">$(PackageVersion)-$(PreReleaseLabel)-$(BuildNumberMajor)-$(BuildNumberMinor)</VersionToRestore>
- <PackageVersionArg>/p:MicrosoftNETCoreRuntimeCoreCLRPackageVersion=$(VersionToRestore)</PackageVersionArg>
- </PropertyGroup>
-
<!-- Which tests shall we build? Default: Priority 0 tests.
At the command-line, the user can specify /p:CLRTestPriorityToBuild=666 (for example), and
- all tests with CLRTestPriority 666,..., 1 AND 0 will build.
-
+ all tests with CLRTestPriority 666,..., 1 AND 0 will build.
+
Consequently, specifying CLRTestPriorityToBuild=1 will build all tests with CLRTestPriority 1 and 0.
-
- CLRTestPriority = 0 will build only priority 0 cases.
-
+
+ CLRTestPriority = 0 will build only priority 0 cases.
+
In other words, the CLRTestPriority cases of 0 are *essential* testcases. The higher the value,
the less priority we give them.
-->
<NETCoreAppTestHostFxrPath>$([MSBuild]::NormalizeDirectory('$(TestHostRootPath)', 'host', 'fxr', '$(TestHostVersion)'))</NETCoreAppTestHostFxrPath>
<NETCoreAppTestSharedFrameworkPath>$([MSBuild]::NormalizeDirectory('$(TestHostRootPath)', 'shared', 'Microsoft.NETCore.App', '$(TestHostVersion)'))</NETCoreAppTestSharedFrameworkPath>
</PropertyGroup>
-
+
</Project>
<ItemGroup>
<RestoreProjects Include="$(MSBuildThisFileDirectory)scripts\scripts.csproj" />
- <RestoreProjects Include="$(MSBuildThisFileDirectory)src\Common\build_against_pkg_dependencies\build_against_pkg_dependencies.csproj" />
- <RestoreProjects Include="$(MSBuildThisFileDirectory)src\Common\targeting_pack_ref\targeting_pack_ref.csproj" />
<RestoreProjects Include="$(MSBuildThisFileDirectory)src\Common\test_dependencies\test_dependencies.csproj" />
<RestoreProjects Include="$(MSBuildThisFileDirectory)src\Common\test_runtime\test_runtime.csproj" />
<RestoreProjects Include="$(MSBuildThisFileDirectory)src\Common\CoreCLRTestLibrary\CoreCLRTestLibrary.csproj" />
<CoreRootProjectFiles Include="$(SourceDir)Common\test_runtime\test_runtime.csproj" />
</ItemGroup>
- <ItemGroup>
- <RefProjectLockJsonFiles Include="$(SourceDir)Common\targeting_pack_ref\obj\project.assets.json"/>
- </ItemGroup>
-
- <ItemGroup>
- <ProductProjectLockJsonFiles Include="$(SourceDir)Common\build_against_pkg_dependencies\obj\project.assets.json"/>
- </ItemGroup>
-
- <ItemGroup>
- <CrossGenFiles Include="$(NuGetPackageRoot)\runtime.$(TargetRid).Microsoft.NETCore.Runtime.CoreCLR\$(DesiredPackageVersionArg)\tools\crossgen*"/>
- </ItemGroup>
-
<PropertyGroup>
<ProductDestination>$(RootRepoDir)\artifacts\bin\coreclr\$(BuildOS).$(BuildArch).$(BuildType)</ProductDestination>
<RefDestination>$(ProductDestination)\ref</RefDestination>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Directory.Build.props))\Directory.Build.props" />
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <CLRTestKind>BuildOnly</CLRTestKind>
- <IsTestProject>false</IsTestProject>
- </PropertyGroup>
- <ItemGroup>
- <PackageReference Include="Microsoft.NETCore.ILAsm">
- <Version>$(MicrosoftNETCoreRuntimeCoreCLRPackageVersion)</Version>
- </PackageReference>
- <PackageReference Include="Microsoft.NETCore.ILDAsm">
- <Version>$(MicrosoftNETCoreRuntimeCoreCLRPackageVersion)</Version>
- </PackageReference>
- <PackageReference Include="Microsoft.NETCore.Jit">
- <Version>$(MicrosoftNETCoreRuntimeCoreCLRPackageVersion)</Version>
- </PackageReference>
- <PackageReference Include="Microsoft.NETCore.Runtime.CoreCLR">
- <Version>$(MicrosoftNETCoreRuntimeCoreCLRPackageVersion)</Version>
- </PackageReference>
- <PackageReference Include="Microsoft.NETCore.TestHost">
- <Version>$(MicrosoftNETCoreRuntimeCoreCLRPackageVersion)</Version>
- </PackageReference>
- </ItemGroup>
- <PropertyGroup>
- <TargetFramework>netcoreapp5.0</TargetFramework>
- <TargetFrameworkIdentifier>.NETCoreApp</TargetFrameworkIdentifier>
- <RuntimeIdentifiers>win-arm;win-arm64;win-x64;win-x86;$(TargetRid)</RuntimeIdentifiers>
- </PropertyGroup>
- <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Directory.Build.targets))\Directory.Build.targets" />
- <Target Name="Build"
- DependsOnTargets="ResolveReferences" />
-</Project>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Directory.Build.props))\Directory.Build.props" />
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <CLRTestKind>BuildOnly</CLRTestKind>
- <IsTestProject>false</IsTestProject>
- </PropertyGroup>
- <ItemGroup>
- <PackageReference Include="Microsoft.TargetingPack.Private.CoreCLR">
- <Version>$(MicrosoftNETCoreRuntimeCoreCLRPackageVersion)</Version>
- </PackageReference>
- </ItemGroup>
- <PropertyGroup>
- <TargetFramework>netcoreapp1.1</TargetFramework>
- <TargetFrameworkIdentifier>.NETCoreApp</TargetFrameworkIdentifier>
- <RuntimeIdentifiers>win-arm;win-arm64;win-x64;win-x86;$(TargetRid)</RuntimeIdentifiers>
- </PropertyGroup>
-
- <!-- This project depends on properties pulled in by Directory.Build.targets in the test/src directory,
- which isn't usually imported for the tests/src/Common
- projects. -->
- <Import Project="$(SourceDir)\Directory.Build.targets" />
- <Target Name="Build"
- DependsOnTargets="ResolveReferences" />
-</Project>
<DisabledProjects Include="Common\Coreclr.TestWrapper\Coreclr.TestWrapper.csproj" />
<DisabledProjects Include="Common\test_runtime\test_runtime.csproj" />
<DisabledProjects Include="Common\test_dependencies\test_dependencies.csproj" />
- <DisabledProjects Include="Common\CoreFX\TestFileSetup\CoreFX.TestUtils.TestFileSetup.csproj" />
- <DisabledProjects Include="Common\build_against_pkg_dependencies\build_against_pkg_dependencies.csproj" />
- <DisabledProjects Include="Common\targeting_pack_ref\targeting_pack_ref.csproj" />
+ <DisabledProjects Include="Common\CoreFX\TestFileSetup\CoreFX.TestUtils.TestFileSetup.csproj" />
<DisabledProjects Include="Common\PerfHarness\PerfHarness.csproj" />
<DisabledProjects Include="Common\stress_dependencies\stress_dependencies.csproj" />
<DisabledProjects Include="GC\Performance\Framework\GCPerfTestFramework.csproj" />
</Target>
<Import Project="..\dir.traversal.targets" />
-
+
<!-- Override clean from dir.traversal.targets and just remove the full BinDir -->
<Target Name="Clean">
<RemoveDir Directories="$(BinDir)" />
</ItemGroup>
</Target>
- <!-- If we want to overwrite the desired CoreCLR package version, we need to get the new version from the generated props file in artifacts/obj -->
- <Import Condition="'$(OverwriteCoreClrPackageVersion)' == 'true'" Project="$(BuildVersionFile)" />
-
- <PropertyGroup Condition="'$(OverwriteCoreClrPackageVersion)' == 'true'">
- <VersionToRestore Condition="'$(StableVersion)' != ''">$(StableVersion)</VersionToRestore>
- <VersionToRestore Condition="'$(VersionToRestore)' == ''">$(PackageVersion)-$(PreReleaseLabel)-$(BuildNumberMajor)-$(BuildNumberMinor)</VersionToRestore>
- <DesiredPackageVersionArg>$(VersionToRestore)</DesiredPackageVersionArg>
- </PropertyGroup>
-
<Import Project="$(MSBuildThisFileDirectory)../tests.targets" />
<Import Project="$(MSBuildThisFileDirectory)../publishdependency.targets" />
- <PropertyGroup>
- <DesiredPackageVersionArg Condition="'$(DesiredPackageVersionArg)' == ''">$(MicrosoftNETCoreRuntimeCoreCLRPackageVersion)</DesiredPackageVersionArg>
- </PropertyGroup>
-
<Target Name="CreateTestOverlay">
<MSBuild Projects="$(MSBuildProjectFile)"
Targets="CopyDependencyToCoreRoot"