1
- <?xml version =" 1.0" encoding =" utf-8" ?>
2
- <Project ToolsVersion =" 15.0" xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
3
- <Import Project =" $(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition =" Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
1
+ <Project Sdk =" Microsoft.NET.Sdk" >
2
+
4
3
<PropertyGroup >
5
- <Configuration Condition =" '$(Configuration)' == '' " >Debug</Configuration >
6
- <Platform Condition =" '$(Platform)' == '' " >AnyCPU</Platform >
7
- <ProjectGuid >{4C2E8223-2378-4926-90F3-5774809E43B7}</ProjectGuid >
8
4
<OutputType >Exe</OutputType >
9
- <RootNamespace >MpfTest</RootNamespace >
10
- <AssemblyName >MpfTest</AssemblyName >
11
- <TargetFrameworkVersion >v4.7.2</TargetFrameworkVersion >
12
- <FileAlignment >512</FileAlignment >
13
- <AutoGenerateBindingRedirects >true</AutoGenerateBindingRedirects >
14
- <Deterministic >true</Deterministic >
5
+ <TargetFramework >netcoreapp3.1</TargetFramework >
6
+ <LangVersion >7.3</LangVersion >
7
+ <AppendRuntimeIdentifierToOutputPath >false</AppendRuntimeIdentifierToOutputPath >
15
8
</PropertyGroup >
16
- <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " >
17
- <PlatformTarget >AnyCPU</PlatformTarget >
18
- <DebugSymbols >true</DebugSymbols >
19
- <DebugType >full</DebugType >
20
- <Optimize >false</Optimize >
21
- <OutputPath >bin\Debug\</OutputPath >
22
- <DefineConstants >DEBUG;TRACE</DefineConstants >
23
- <ErrorReport >prompt</ErrorReport >
24
- <WarningLevel >4</WarningLevel >
9
+
10
+ <PropertyGroup Condition =" '$(RuntimeIdentifier)' == ''" >
11
+ <RuntimeIdentifier Condition =" $([MSBuild]::IsOSPlatform('Windows')) And '$(PlatformTarget)' != 'x86'" >win-x64</RuntimeIdentifier >
12
+ <RuntimeIdentifier Condition =" $([MSBuild]::IsOSPlatform('Windows')) And '$(PlatformTarget)' == 'x86'" >win-x86</RuntimeIdentifier >
13
+ <RuntimeIdentifier Condition =" $([MSBuild]::IsOSPlatform('OSX'))" >osx-x64</RuntimeIdentifier >
14
+ <RuntimeIdentifier Condition =" $([MSBuild]::IsOSPlatform('Linux'))" >linux-x64</RuntimeIdentifier >
25
15
</PropertyGroup >
26
- <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " >
27
- <PlatformTarget >AnyCPU</PlatformTarget >
28
- <DebugType >pdbonly</DebugType >
29
- <Optimize >true</Optimize >
30
- <OutputPath >bin\Release\</OutputPath >
31
- <DefineConstants >TRACE</DefineConstants >
32
- <ErrorReport >prompt</ErrorReport >
33
- <WarningLevel >4</WarningLevel >
34
- </PropertyGroup >
35
- <ItemGroup >
36
- <Reference Include =" System" />
37
- <Reference Include =" System.Core" />
38
- <Reference Include =" System.Xml.Linq" />
39
- <Reference Include =" System.Data.DataSetExtensions" />
40
- <Reference Include =" Microsoft.CSharp" />
41
- <Reference Include =" System.Data" />
42
- <Reference Include =" System.Net.Http" />
43
- <Reference Include =" System.Xml" />
44
- </ItemGroup >
45
- <ItemGroup >
46
- <Compile Include =" Program.cs" />
47
- <Compile Include =" Properties\AssemblyInfo.cs" />
48
- </ItemGroup >
49
- <ItemGroup >
50
- <None Include =" App.config" />
51
- </ItemGroup >
16
+
52
17
<ItemGroup >
53
- <ProjectReference Include =" ..\VisualPinball.Engine.Mpf\VisualPinball.Engine.Mpf.csproj" >
54
- <Project >{4886c204-99c9-40ab-a71f-043af931cbf7}</Project >
55
- <Name >VisualPinball.Engine.Mpf</Name >
56
- </ProjectReference >
18
+ <ProjectReference Include =" ..\VisualPinball.Engine.Mpf\VisualPinball.Engine.Mpf.csproj" />
57
19
</ItemGroup >
58
- < Import Project = " $(MSBuildToolsPath)\Microsoft.CSharp.targets " />
59
- </Project >
20
+
21
+ </Project >
0 commit comments