mirror of
https://github.com/BepInEx/dotnet-runtime.git
synced 2026-11-23 03:39:35 -10:00
PackageTargetRuntime can now be derived from the OSGroup of the project. Set the default values in dir.props and only override if necessary. Commit migrated from https://github.com/dotnet/corefx/commit/7f871515097039b95b70c974eb5947fe7afaa322
30 lines
1.3 KiB
XML
30 lines
1.3 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>
|
|
<PackageTargetRuntime>win</PackageTargetRuntime>
|
|
<PreventImplementationReference>true</PreventImplementationReference>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\..\src\System.IO.FileSystem.csproj">
|
|
<OSGroup>Windows_NT</OSGroup>
|
|
</ProjectReference>
|
|
<ProjectReference Include="..\..\src\System.IO.FileSystem.csproj">
|
|
<OSGroup>Windows_NT</OSGroup>
|
|
<TargetGroup>netcore50</TargetGroup>
|
|
</ProjectReference>
|
|
|
|
<!-- No implementation on platforms where our P-Invokes are not allowed -->
|
|
<NotSupportedOnTargetFramework Include="win8" />
|
|
<NotSupportedOnTargetFramework Include="wp8" />
|
|
<NotSupportedOnTargetFramework Include="wpa81" />
|
|
|
|
<!-- don't use the dotnet implementation for any version of desktop, it's implementation comes from the reference package -->
|
|
<ExternalOnTargetFramework Include="net" />
|
|
</ItemGroup>
|
|
|
|
|
|
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
|
|
</Project> |