mirror of
https://github.com/BepInEx/dotnet-runtime.git
synced 2026-11-22 19:10:41 -10:00
Most test projects should now successfully run on both Linux and OSX. Updated the csproj files to indicate the few places that's not the case. Microsoft.Win32.Registry and System.ServiceProcess.ServiceController are both Windows-only, and System.IO.FileSystem.DriveInfo currently lacks an OSX-based implementation. Commit migrated from https://github.com/dotnet/corefx/commit/d60a1a09a6588d38aa6e355517da51d6dfd544eb
37 lines
1.8 KiB
XML
37 lines
1.8 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>
|
|
<OutputType>Library</OutputType>
|
|
<RootNamespace>System.IO.FileSystem.DriveInfo.Tests</RootNamespace>
|
|
<AssemblyName>System.IO.FileSystem.DriveInfo.Tests</AssemblyName>
|
|
<ProjectGuid>{7D9E5F2F-5677-40FC-AD04-FA7D603E4806}</ProjectGuid>
|
|
<UnsupportedPlatforms>OSX</UnsupportedPlatforms>
|
|
</PropertyGroup>
|
|
<!-- Default configurations to help VS understand the configurations -->
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Compile Include="DriveInfo.Unix.Tests.cs" />
|
|
<Compile Include="DriveInfo.Windows.Tests.cs" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<None Include="packages.config" />
|
|
<None Include="project.json" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\src\System.IO.FileSystem.DriveInfo.csproj">
|
|
<Project>{29c14ad7-dc03-45dc-897d-8dacc762707e}</Project>
|
|
<Name>System.IO.FileSystem.DriveInfo</Name>
|
|
</ProjectReference>
|
|
<ProjectReference Include="$(CommonTestPath)\XunitTraitsDiscoverers\XunitTraitsDiscoverers.csproj">
|
|
<Project>{be8ed8c1-c314-4c4e-a929-64c9c8b3552a}</Project>
|
|
<Name>XunitTraitsDiscoverers</Name>
|
|
</ProjectReference>
|
|
</ItemGroup>
|
|
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
|
|
</Project> |