|
1 | 1 | <Project Sdk="Microsoft.NET.Sdk"> |
2 | | - |
3 | 2 | <PropertyGroup> |
4 | 3 | <TargetFramework>netstandard2.1</TargetFramework> |
5 | | - <LangVersion>8</LangVersion> |
6 | 4 | <AssemblyVersion>0.1.0.0</AssemblyVersion> |
7 | 5 | <AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath> |
8 | 6 | <CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies> |
| 7 | + <LangVersion>9.0</LangVersion> |
9 | 8 | </PropertyGroup> |
10 | | - |
11 | 9 | <PropertyGroup Condition="'$(RuntimeIdentifier)' == ''"> |
12 | 10 | <RuntimeIdentifier Condition="$([MSBuild]::IsOSPlatform('Windows')) And '$(PlatformTarget)' != 'x86'">win-x64</RuntimeIdentifier> |
13 | 11 | <RuntimeIdentifier Condition="$([MSBuild]::IsOSPlatform('Windows')) And '$(PlatformTarget)' == 'x86'">win-x86</RuntimeIdentifier> |
14 | 12 | <RuntimeIdentifier Condition="$([MSBuild]::IsOSPlatform('OSX'))">osx-x64</RuntimeIdentifier> |
15 | 13 | <RuntimeIdentifier Condition="$([MSBuild]::IsOSPlatform('Linux'))">linux-x64</RuntimeIdentifier> |
16 | 14 | </PropertyGroup> |
17 | | - |
18 | 15 | <ItemGroup> |
19 | 16 | <PackageReference Include="PinMame" Version="0.1.0-preview.47" /> |
20 | | - <PackageReference Include="PinMame.Native" Version="3.4.0-preview.316" /> |
21 | | - <PackageReference Include="VisualPinball.Engine" Version="0.0.1-preview.73" /> |
| 17 | + <PackageReference Include="PinMame.Native" Version="3.4.0-preview.322" /> |
| 18 | + <PackageReference Include="VisualPinball.Engine" Version="0.0.1-preview.75" /> |
22 | 19 | <!-- Uncomment when doing local dev --> |
23 | 20 | <!-- |
24 | 21 | <Reference Include="VisualPinball.Engine"> |
25 | 22 | <HintPath>..\..\VisualPinball.Engine\VisualPinball.Engine\.bin\Release\netstandard2.1\VisualPinball.Engine.dll</HintPath> |
26 | 23 | </Reference> |
27 | 24 | --> |
28 | 25 | </ItemGroup> |
29 | | - |
30 | 26 | <Target Name="PluginsDeploy" AfterTargets="AfterBuild"> |
31 | 27 | <ItemGroup> |
32 | 28 | <Plugins Include="$(OutDir)$(AssemblyName).dll" /> |
33 | 29 | <Plugins Include="$(OutDir)PinMame.dll" /> |
34 | | - |
35 | 30 | <Plugins Include="$(NuGetPackageRoot)\pinmame.native.$(RuntimeIdentifier)\3.4.0-preview.316\runtimes\$(RuntimeIdentifier)\native\*" /> |
36 | 31 | </ItemGroup> |
37 | 32 | <Message Text="PluginsDeploy: @(Plugins)" /> |
38 | 33 | <Copy SourceFiles="@(Plugins)" DestinationFolder="..\VisualPinball.Engine.PinMAME.Unity\Plugins\$(RuntimeIdentifier)" SkipUnchangedFiles="true" /> |
39 | 34 | </Target> |
40 | | - |
41 | 35 | </Project> |
0 commit comments