mirror of
https://github.com/BepInEx/dotnet-runtime.git
synced 2026-11-23 03:39:35 -10:00
Many of the serializable types in corefx are exceptions. To make it easier to test them, I'm separating out a helper that can be used in both the BinaryFormatter tests and in each individual project's tests. Commit migrated from https://github.com/dotnet/corefx/commit/4f4378cc325f597cd7748ba98eedb26f144e55f2
66 lines
3.4 KiB
XML
66 lines
3.4 KiB
XML
<?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), dir.props))\dir.props" />
|
|
<PropertyGroup>
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
<ProjectGuid>{7C70BB15-870B-4946-8098-625DACD645A6}</ProjectGuid>
|
|
<OutputType>Library</OutputType>
|
|
<AssemblyName>System.Runtime.Serialization.Formatters.Tests</AssemblyName>
|
|
<RootNamespace>System.Runtime.Serialization.Formatters.Tests</RootNamespace>
|
|
<IncludePerformanceTests>true</IncludePerformanceTests>
|
|
<!--
|
|
Until we get first class support for NS1.7 and Netcoreapp1.1
|
|
we need to hard code $(TestTFM) and $(TestNugetTargetMoniker)
|
|
in the project file.
|
|
-->
|
|
<TestTFM>netcoreapp1.1</TestTFM>
|
|
<NugetTargetMoniker>.NETStandard,Version=v1.7</NugetTargetMoniker>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<TestNugetTargetMoniker Include="$(NugetTargetMoniker)">
|
|
<Folder>netcoreapp1.1</Folder>
|
|
</TestNugetTargetMoniker>
|
|
</ItemGroup>
|
|
<!-- Default configurations to help VS understand the configurations -->
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'" />
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'" />
|
|
<ItemGroup>
|
|
<Compile Include="BinaryFormatterTests.cs" />
|
|
<Compile Include="OptionalFieldAttributeTests.cs" />
|
|
<Compile Include="FormatterConverterTests.cs" />
|
|
<Compile Include="FormatterServicesTests.cs" />
|
|
<Compile Include="FormatterTests.cs" />
|
|
<Compile Include="SerializationBinderTests.cs" />
|
|
<Compile Include="SerializationInfoTests.cs" />
|
|
<Compile Include="SerializationTypes.cs" />
|
|
<Compile Include="SurrogateSelectorTests.cs" />
|
|
<Compile Include="$(CommonTestPath)\System\Diagnostics\RemoteExecutorTestBase.cs">
|
|
<Link>Common\System\Diagnostics\RemoteExecutorTestBase.cs</Link>
|
|
</Compile>
|
|
<Compile Include="$(CommonTestPath)\System\IO\FileCleanupTestBase.cs">
|
|
<Link>Common\System\IO\FileCleanupTestBase.cs</Link>
|
|
</Compile>
|
|
<Compile Include="$(CommonTestPath)\System\Runtime\Serialization\Formatters\BinaryFormatterHelpers.cs">
|
|
<Link>Common\System\Runtime\Serialization\Formatters\BinaryFormatterHelpers.cs</Link>
|
|
</Compile>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<None Include="project.json" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\..\System.Runtime\pkg\System.Runtime.pkgproj" />
|
|
<ProjectReference Include="..\..\System.Runtime.Serialization.Primitives\pkg\System.Runtime.Serialization.Primitives.pkgproj" />
|
|
|
|
<ProjectReference Include="$(CommonTestPath)\System\Diagnostics\RemoteExecutorConsoleApp\RemoteExecutorConsoleApp.csproj">
|
|
<Project>{69e46a6f-9966-45a5-8945-2559fe337827}</Project>
|
|
<Name>RemoteExecutorConsoleApp</Name>
|
|
</ProjectReference>
|
|
<ProjectReference Include="..\pkg\System.Runtime.Serialization.Formatters.pkgproj">
|
|
<Project>{ca488507-3b6e-4494-b7be-7b4eeeb2c4d1}</Project>
|
|
<Name>System.Runtime.Serialization.Formatters</Name>
|
|
<Private>True</Private>
|
|
</ProjectReference>
|
|
</ItemGroup>
|
|
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
|
|
</Project> |