mirror of
https://github.com/SK-la/osu-framework.git
synced 2026-03-15 03:20:30 +00:00
Only compile with net461 in visual studio
This commit is contained in:
@@ -4,7 +4,8 @@
|
||||
<Import Project="..\osu.Framework.props" />
|
||||
|
||||
<PropertyGroup Label="Project">
|
||||
<TargetFrameworks>net461;netcoreapp2.0</TargetFrameworks>
|
||||
<TargetFramework Condition="'$(BuildingInsideVisualStudio)' == 'true'">net461</TargetFramework>
|
||||
<TargetFrameworks Condition="'$(BuildingInsideVisualStudio)' != 'true'">net461;netcoreapp2.0</TargetFrameworks>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
</PropertyGroup>
|
||||
|
||||
@@ -4,7 +4,8 @@
|
||||
<Import Project="..\osu.Framework.props" />
|
||||
|
||||
<PropertyGroup Label="Project">
|
||||
<TargetFrameworks>net461;netcoreapp2.0;netstandard2.0</TargetFrameworks>
|
||||
<TargetFramework Condition="'$(BuildingInsideVisualStudio)' == 'true'">net461</TargetFramework>
|
||||
<TargetFrameworks Condition="'$(BuildingInsideVisualStudio)' != 'true'">net461;netstandard2.0;netcoreapp2.0</TargetFrameworks>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<AssemblyName>osu.Framework.Tests</AssemblyName>
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
<Import Project="..\osu.Framework.props" />
|
||||
|
||||
<PropertyGroup Label="Project">
|
||||
<!-- We need to compile for net461 here for System.Drawing to work under .NET Framework... -->
|
||||
<TargetFrameworks>net461;netstandard2.0;netcoreapp2.0</TargetFrameworks>
|
||||
<TargetFramework Condition="'$(BuildingInsideVisualStudio)' == 'true'">net461</TargetFramework>
|
||||
<TargetFrameworks Condition="'$(BuildingInsideVisualStudio)' != 'true'">net461;netstandard2.0;netcoreapp2.0</TargetFrameworks>
|
||||
<OutputType>Library</OutputType>
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
@@ -22,7 +22,7 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup Label="References">
|
||||
<Reference Include="System.Runtime.InteropServices.RuntimeInformation"/>
|
||||
<Reference Include="System.Runtime.InteropServices.RuntimeInformation" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Label="Package References">
|
||||
|
||||
Reference in New Issue
Block a user