Skip to content

Commit

Permalink
build: Additional settings for dotnet build
Browse files Browse the repository at this point in the history
  • Loading branch information
twpol committed Oct 21, 2023
1 parent c6e0de1 commit 8b3d60a
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 0 deletions.
Expand Up @@ -14,6 +14,7 @@
<Copyright>Copyright © 2009 - 2022</Copyright>
<PackageLicenseExpression>GPL-3.0-or-later</PackageLicenseExpression>
<DefineConstants>TRACE;WINDOWS;ACTIVITY_EDITOR</DefineConstants>
<GenerateResourceUsePreserializedResources>true</GenerateResourceUsePreserializedResources>
</PropertyGroup>
<ItemGroup>
<Compile Update="Wizard\ActivityDescr.cs">
Expand Down Expand Up @@ -86,5 +87,6 @@
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="MonoGame.Framework.WindowsDX" Version="3.8.0.1641" />
<PackageReference Include="System.Resources.Extensions" Version="7.0.0" />
</ItemGroup>
</Project>
2 changes: 2 additions & 0 deletions Source/Contrib/ContentManager/ContentManager.csproj
Expand Up @@ -14,6 +14,7 @@
<Product>Open Rails</Product>
<Copyright>Copyright © 2009 - 2022</Copyright>
<PackageLicenseExpression>GPL-3.0-or-later</PackageLicenseExpression>
<GenerateResourceUsePreserializedResources>true</GenerateResourceUsePreserializedResources>
</PropertyGroup>
<ItemGroup>
<Compile Update="CueTextBox.cs">
Expand All @@ -31,5 +32,6 @@
<PackageReference Include="Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers" Version="0.4.355802">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="System.Resources.Extensions" Version="7.0.0" />
</ItemGroup>
</Project>
2 changes: 2 additions & 0 deletions Source/Menu/Menu.csproj
Expand Up @@ -13,6 +13,7 @@
<Product>Open Rails</Product>
<Copyright>Copyright © 2009 - 2022</Copyright>
<PackageLicenseExpression>GPL-3.0-or-later</PackageLicenseExpression>
<GenerateResourceUsePreserializedResources>true</GenerateResourceUsePreserializedResources>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
<DocumentationFile>..\..\Program\Menu.xml</DocumentationFile>
Expand Down Expand Up @@ -64,5 +65,6 @@
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="MonoGame.Framework.WindowsDX" Version="3.8.0.1641" />
<PackageReference Include="System.Resources.Extensions" Version="7.0.0" />
</ItemGroup>
</Project>
2 changes: 2 additions & 0 deletions Source/RunActivity/RunActivity.csproj
Expand Up @@ -14,6 +14,7 @@
<Copyright>Copyright © 2009 - 2022</Copyright>
<PackageLicenseExpression>GPL-3.0-or-later</PackageLicenseExpression>
<DefineConstants>TRACE;WINDOWS;NEW_ACTION;WITH_NEW_SAVE;ACTIVITY_EDITOR</DefineConstants>
<GenerateResourceUsePreserializedResources>true</GenerateResourceUsePreserializedResources>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
<DocumentationFile>..\..\Program\RunActivity.xml</DocumentationFile>
Expand Down Expand Up @@ -640,6 +641,7 @@
<PackageReference Include="Newtonsoft.Json" Version="13.0.2" />
<PackageReference Include="RailDriver" Version="0.7.10" />
<PackageReference Include="System.Management" Version="7.0.0" />
<PackageReference Include="System.Resources.Extensions" Version="7.0.0" />
<PackageReference Include="System.ValueTuple" Version="4.5.0" />
<PackageReference Include="Unosquare.Swan.Lite" Version="3.1.0" />
</ItemGroup>
Expand Down
2 changes: 2 additions & 0 deletions Source/Updater/Updater.csproj
Expand Up @@ -12,6 +12,7 @@
<Product>Open Rails</Product>
<Copyright>Copyright © 2009 - 2022</Copyright>
<PackageLicenseExpression>GPL-3.0-or-later</PackageLicenseExpression>
<GenerateResourceUsePreserializedResources>true</GenerateResourceUsePreserializedResources>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
<DocumentationFile>..\..\Program\Updater.xml</DocumentationFile>
Expand All @@ -38,5 +39,6 @@
<PackageReference Include="Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers" Version="0.4.355802">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="System.Resources.Extensions" Version="7.0.0" />
</ItemGroup>
</Project>

0 comments on commit 8b3d60a

Please sign in to comment.