Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/libraries/Common/tests/TestUtilities/TestUtilities.csproj')
-rw-r--r--src/libraries/Common/tests/TestUtilities/TestUtilities.csproj78
1 files changed, 78 insertions, 0 deletions
diff --git a/src/libraries/Common/tests/TestUtilities/TestUtilities.csproj b/src/libraries/Common/tests/TestUtilities/TestUtilities.csproj
new file mode 100644
index 00000000000..559cca7f203
--- /dev/null
+++ b/src/libraries/Common/tests/TestUtilities/TestUtilities.csproj
@@ -0,0 +1,78 @@
+<Project Sdk="Microsoft.NET.Sdk">
+ <PropertyGroup>
+ <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+ <NoWarn>$(NoWarn);CS1573</NoWarn>
+ <!--
+ This assembly is referenced from rid agnostic configurations therefore we can't make it RID specific
+ and instead use runtime checks.
+ -->
+ <TargetFrameworks>$(NetCoreAppCurrent);$(NetFrameworkCurrent)</TargetFrameworks>
+ </PropertyGroup>
+ <ItemGroup>
+ <Compile Include="System\AdminHelpers.cs" />
+ <Compile Include="System\AssertExtensions.cs" />
+ <Compile Include="System\RetryHelper.cs" />
+ <Compile Include="System\Buffers\BoundedMemory.cs" />
+ <Compile Include="System\Buffers\BoundedMemory.Creation.cs" />
+ <Compile Include="System\Buffers\BoundedMemory.Unix.cs" />
+ <Compile Include="System\Buffers\BoundedMemory.Windows.cs" />
+ <Compile Include="System\Buffers\PoisonPagePlacement.cs" />
+ <Compile Include="System\IO\FileCleanupTestBase.cs" />
+ <Compile Include="System\TestEnvironment.cs" />
+ <Compile Include="System\ThreadCultureChange.cs" />
+ <!-- We don't compile per but and instead use runtime platform checks. -->
+ <Compile Include="System\PlatformDetection.cs" />
+ <Compile Include="System\PlatformDetection.Unix.cs" />
+ <Compile Include="System\PlatformDetection.Windows.cs" />
+ <!--
+ Interop.Library is not designed to support runtime checks therefore we are picking the Windows
+ variant from the Common folder and adding the missing members manually.
+ -->
+ <Compile Include="Interop\Interop.Libraries.cs" />
+ </ItemGroup>
+ <!-- Windows imports -->
+ <ItemGroup>
+ <Compile Include="$(CommonPath)Interop\Windows\Kernel32\Interop.GetCurrentProcess_IntPtr.cs">
+ <Link>Common\Interop\Windows\Kernel32\Interop.GetCurrentProcess_IntPtr.cs</Link>
+ </Compile>
+ <Compile Include="$(CommonPath)Interop\Windows\NtDll\Interop.RtlGetVersion.cs">
+ <Link>Common\Interop\Windows\NtDll\Interop.RtlGetVersion.cs</Link>
+ </Compile>
+ <Compile Include="$(CommonPath)Interop\Windows\Advapi32\Interop.OpenProcessToken_SafeAccessTokenHandle.cs">
+ <Link>Common\Interop\Windows\Advapi32\Interop.OpenProcessToken_SafeAccessTokenHandle.cs</Link>
+ </Compile>
+ <Compile Include="$(CommonPath)Interop\Windows\Interop.Libraries.cs">
+ <Link>Common\Interop\Windows\Interop.Libraries.cs</Link>
+ </Compile>
+ <Compile Include="$(CommonPath)Interop\Windows\Kernel32\Interop.CloseHandle.cs">
+ <Link>Common\Interop\Windows\Kernel32\Interop.CloseHandle.cs</Link>
+ </Compile>
+ <Compile Include="$(CommonPath)Interop\Windows\Advapi32\Interop.TOKEN_INFORMATION_CLASS.cs">
+ <Link>Common\Interop\Windows\Advapi32\Interop.TOKEN_INFORMATION_CLASS.cs</Link>
+ </Compile>
+ <Compile Include="$(CommonPath)Interop\Windows\Advapi32\Interop.GetTokenInformation_void.cs">
+ <Link>Common\Interop\Windows\Advapi32\Interop.GetTokenInformation_void.cs</Link>
+ </Compile>
+ <Compile Include="$(CommonPath)Interop\Windows\Advapi32\Interop.TOKEN_ELEVATION.cs">
+ <Link>Common\Interop\Windows\Advapi32\Interop.TOKEN_ELEVATION.cs</Link>
+ </Compile>
+ <Compile Include="$(CommonPath)Interop\Windows\Interop.BOOL.cs">
+ <Link>Common\Interop\Windows\Interop.BOOL.cs</Link>
+ </Compile>
+ </ItemGroup>
+ <!-- Unix imports -->
+ <ItemGroup>
+ <Compile Include="$(CommonPath)Interop\Unix\System.Security.Cryptography.Native\Interop.OpenSslVersion.cs">
+ <Link>Common\Interop\Unix\System.Security.Cryptography.Native\Interop.OpenSslVersion.cs</Link>
+ </Compile>
+ <Compile Include="$(CommonPath)Interop\Unix\System.Native\Interop.GetEUid.cs">
+ <Link>Common\Interop\Unix\Interop.GetEUid.cs</Link>
+ </Compile>
+ </ItemGroup>
+ <ItemGroup>
+ <PackageReference Include="Microsoft.DotNet.XUnitExtensions" Version="$(MicrosoftDotNetXUnitExtensionsVersion)" />
+ <PackageReference Include="xunit.core" Version="$(XUnitVersion)" ExcludeAssets="build" />
+ <PackageReference Include="xunit.assert" Version="$(XUnitVersion)" />
+ <PackageReference Include="Microsoft.DotNet.PlatformAbstractions" Version="$(MicrosoftDotNetPlatformAbstractionsVersion)" />
+ </ItemGroup>
+</Project>