Skip to content

Commit

Permalink
chore: nuget packages updated
Browse files Browse the repository at this point in the history
  • Loading branch information
BoBoBaSs84 committed Feb 25, 2025
1 parent eb38c0f commit 4ef1cb2
Show file tree
Hide file tree
Showing 26 changed files with 96 additions and 49 deletions.
9 changes: 0 additions & 9 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -54,18 +54,9 @@

<ItemGroup Condition="!$(MSBuildProjectName.EndsWith('Tests'))">
<InternalsVisibleTo Include="$(AssemblyName).Tests" />
<Using Include="System.ComponentModel"/>
<Using Include="System.Drawing"/>
<Using Include="System.Reflection"/>
</ItemGroup>

<ItemGroup Condition="$(MSBuildProjectName.EndsWith('Tests'))">
<PackageReference Include="FluentAssertions" Version="8.0.1"/>
<PackageReference Include="MSTest.TestAdapter" Version="3.8.0"/>
<PackageReference Include="MSTest.TestFramework" Version="3.8.0"/>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.13.0"/>
<PackageReference Include="Moq" Version="[4.18.4]"/>
<PackageReference Include="coverlet.collector" Version="6.0.4"/>
<Using Include="Microsoft.VisualStudio.TestTools.UnitTesting" />
<Using Include="System.Diagnostics" />
<Using Include="System.Diagnostics.CodeAnalysis" />
Expand Down
13 changes: 13 additions & 0 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<Project>
<PropertyGroup>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>
<ItemGroup>
<PackageVersion Include="FluentAssertions" Version="8.1.1" />
<PackageVersion Include="Moq" Version="4.20.72" />
<PackageVersion Include="MSTest" Version="3.8.2" />
<PackageVersion Include="coverlet.collector" Version="6.0.4" />
<PackageVersion Include="ScriptHookVDotNet3" Version="3.6.0" />
<PackageVersion Include="LemonUI.SHVDN3" Version="2.1.2" />
</ItemGroup>
</Project>
3 changes: 2 additions & 1 deletion Los.Santos.Dope.Wars.sln
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
CODE_OF_CONDUCT.md = CODE_OF_CONDUCT.md
Directory.Build.props = Directory.Build.props
Directory.Build.targets = Directory.Build.targets
Directory.Packages.props = Directory.Packages.props
LICENSE = LICENSE
README.md = README.md
EndProjectSection
Expand Down Expand Up @@ -109,7 +110,7 @@ Global
{CB07EEC7-D35F-4420-9507-8D833EF6738F} = {751C0958-C5D5-45A2-ABEF-A226D5FBC9BF}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {68F339D1-2669-47D8-9481-679C413F0389}
RESX_SortFileContentOnSave = True
SolutionGuid = {68F339D1-2669-47D8-9481-679C413F0389}
EndGlobalSection
EndGlobal
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
namespace LSDW.Abstractions.Attributes.Caches;
using System.ComponentModel;
using System.Reflection;

namespace LSDW.Abstractions.Attributes.Caches;

/// <summary>
/// The description attribute cache class.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using LSDW.Abstractions.Enumerators;
using System.Reflection;

namespace LSDW.Abstractions.Attributes.Caches;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
namespace LSDW.Abstractions.Domain.Models.Base;
using System.ComponentModel;

namespace LSDW.Abstractions.Domain.Models.Base;

/// <summary>
/// The notification base interface.
Expand Down
1 change: 1 addition & 0 deletions src/LSDW.Abstractions/Enumerators/DrugType.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using LSDW.Abstractions.Attributes;
using System.ComponentModel;

namespace LSDW.Abstractions.Enumerators;

Expand Down
4 changes: 3 additions & 1 deletion src/LSDW.Abstractions/Enumerators/TransactionType.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
namespace LSDW.Abstractions.Enumerators;
using System.ComponentModel;

namespace LSDW.Abstractions.Enumerators;

/// <summary>
/// The transaction type enumerator.
Expand Down
7 changes: 2 additions & 5 deletions src/LSDW.Abstractions/LSDW.Abstractions.csproj
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<UseWindowsForms>true</UseWindowsForms>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="ScriptHookVDotNet3" Version="3.6.0"/>
<PackageReference Include="LemonUI.SHVDN3" Version="2.1.2"/>
<PackageReference Include="ScriptHookVDotNet3" />
<PackageReference Include="LemonUI.SHVDN3" />
</ItemGroup>

</Project>
11 changes: 2 additions & 9 deletions src/LSDW.Application/LSDW.Application.csproj
Original file line number Diff line number Diff line change
@@ -1,36 +1,29 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<UseWindowsForms>true</UseWindowsForms>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="ScriptHookVDotNet3" Version="3.6.0" ExcludeAssets="runtime" />
<PackageReference Include="LemonUI.SHVDN3" Version="2.1.2"/>
<PackageReference Include="ScriptHookVDotNet3" ExcludeAssets="runtime"/>
<PackageReference Include="LemonUI.SHVDN3"/>
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\LSDW.Infrastructure\LSDW.Infrastructure.csproj" />
<ProjectReference Include="..\LSDW.Presentation\LSDW.Presentation.csproj" />
</ItemGroup>

<ItemGroup>
<Service Include="{508349b6-6b84-4df5-91f0-309beebad82d}" />
</ItemGroup>

<ItemGroup>
<Compile Update="Properties\Resources.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
</ItemGroup>

<ItemGroup>
<EmbeddedResource Update="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>

</Project>
4 changes: 0 additions & 4 deletions src/LSDW.Domain/LSDW.Domain.csproj
Original file line number Diff line number Diff line change
@@ -1,22 +1,18 @@
<Project Sdk="Microsoft.NET.Sdk">

<ItemGroup>
<ProjectReference Include="..\LSDW.Abstractions\LSDW.Abstractions.csproj" />
</ItemGroup>

<ItemGroup>
<Compile Update="Properties\Resources.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
</ItemGroup>

<ItemGroup>
<EmbeddedResource Update="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>

</Project>
1 change: 1 addition & 0 deletions src/LSDW.Domain/Models/Base/NotificationBase.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using LSDW.Abstractions.Domain.Models.Base;
using System.ComponentModel;
using System.Runtime.CompilerServices;

namespace LSDW.Domain.Models.Base;
Expand Down
1 change: 1 addition & 0 deletions src/LSDW.Domain/Models/Dealer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using LSDW.Abstractions.Domain.Providers;
using LSDW.Domain.Factories;
using LSDW.Domain.Models.Base;
using System.ComponentModel;

namespace LSDW.Domain.Models;

Expand Down
1 change: 1 addition & 0 deletions src/LSDW.Domain/Models/Player.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using LSDW.Domain.Constants;
using LSDW.Domain.Extensions;
using LSDW.Domain.Models.Base;
using System.ComponentModel;

namespace LSDW.Domain.Models;

Expand Down
1 change: 1 addition & 0 deletions src/LSDW.Domain/Providers/ScreenProvider.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using GTA.UI;
using LSDW.Abstractions.Domain.Providers;
using System.Diagnostics.CodeAnalysis;
using System.Drawing;

namespace LSDW.Domain.Providers;

Expand Down
8 changes: 0 additions & 8 deletions src/LSDW.Infrastructure/LSDW.Infrastructure.csproj
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">

<ItemGroup>
<ProjectReference Include="..\LSDW.Domain\LSDW.Domain.csproj" />
</ItemGroup>

<ItemGroup>
<Service Include="{508349b6-6b84-4df5-91f0-309beebad82d}" />
</ItemGroup>

<ItemGroup>
<None Remove="**\*.tt" />
<None Include="**\*.tt">
Expand All @@ -16,7 +13,6 @@
<LastGenOutput>%(Filename).Designer.cs</LastGenOutput>
</None>
</ItemGroup>

<ItemGroup>
<Compile Update="Properties\Resources.Designer.cs">
<DesignTime>True</DesignTime>
Expand All @@ -29,20 +25,16 @@
<DependentUpon>SettingsService.tt</DependentUpon>
</Compile>
</ItemGroup>

<ItemGroup>
<EmbeddedResource Update="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>

<ItemGroup>
<None Update="Services\SettingsService.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>SettingsService.Designer.cs</LastGenOutput>
</None>
</ItemGroup>


</Project>
1 change: 1 addition & 0 deletions src/LSDW.Presentation/Items/DrugListItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using LSDW.Abstractions.Domain.Models;
using LSDW.Abstractions.Extensions;
using LSDW.Domain.Extensions;
using System.ComponentModel;

namespace LSDW.Presentation.Items;

Expand Down
7 changes: 0 additions & 7 deletions src/LSDW.Presentation/LSDW.Presentation.csproj
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">

<ItemGroup>
<ProjectReference Include="..\LSDW.Domain\LSDW.Domain.csproj" />
</ItemGroup>

<ItemGroup>
<Service Include="{508349b6-6b84-4df5-91f0-309beebad82d}" />
</ItemGroup>

<ItemGroup>
<None Remove="**\*.tt" />
<None Include="**\*.tt">
Expand All @@ -16,7 +13,6 @@
<LastGenOutput>%(Filename).Designer.cs</LastGenOutput>
</None>
</ItemGroup>

<ItemGroup>
<Compile Update="Menus\SettingsMenu.Designer.cs">
<DesignTime>True</DesignTime>
Expand All @@ -29,19 +25,16 @@
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
</ItemGroup>

<ItemGroup>
<EmbeddedResource Update="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>

<ItemGroup>
<None Update="Menus\SettingsMenu.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>SettingsMenu.Designer.cs</LastGenOutput>
</None>
</ItemGroup>

</Project>
1 change: 1 addition & 0 deletions src/LSDW.Presentation/Menus/DealMenu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
using LSDW.Domain.Factories;
using LSDW.Presentation.Helpers;
using LSDW.Presentation.Menus.Base;
using System.Drawing;
using GTAFont = GTA.UI.Font;

namespace LSDW.Presentation.Menus;
Expand Down
1 change: 1 addition & 0 deletions src/LSDW.Presentation/Menus/SettingsMenu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using LSDW.Abstractions.Presentation.Menus;
using LSDW.Presentation.Menus.Base;
using LSDW.Presentation.Properties;
using System.ComponentModel;

namespace LSDW.Presentation.Menus;

Expand Down
11 changes: 8 additions & 3 deletions tests/LSDW.Abstractions.Tests/LSDW.Abstractions.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
<Project Sdk="Microsoft.NET.Sdk">

<ItemGroup>
<PackageReference Include="coverlet.collector">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="FluentAssertions" />
<PackageReference Include="MSTest" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\LSDW.Abstractions\LSDW.Abstractions.csproj" />
<ProjectReference Include="..\LSDW.Base.Tests\LSDW.Base.Tests.csproj" />
</ItemGroup>

<ItemGroup>
<Reference Include="System.ComponentModel.DataAnnotations" />
</ItemGroup>

</Project>
10 changes: 10 additions & 0 deletions tests/LSDW.Application.Tests/LSDW.Application.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk">

<ItemGroup>
<PackageReference Include="coverlet.collector">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="FluentAssertions" />
<PackageReference Include="Moq" />
<PackageReference Include="MSTest" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\src\LSDW.Application\LSDW.Application.csproj" />
<ProjectReference Include="..\LSDW.Base.Tests\LSDW.Base.Tests.csproj" />
Expand Down
10 changes: 10 additions & 0 deletions tests/LSDW.Base.Tests/LSDW.Base.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk">

<ItemGroup>
<PackageReference Include="coverlet.collector">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="FluentAssertions" />
<PackageReference Include="Moq" />
<PackageReference Include="MSTest" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\src\LSDW.Abstractions\LSDW.Abstractions.csproj" />
</ItemGroup>
Expand Down
10 changes: 10 additions & 0 deletions tests/LSDW.Domain.Tests/LSDW.Domain.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk">

<ItemGroup>
<PackageReference Include="coverlet.collector">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="FluentAssertions" />
<PackageReference Include="Moq" />
<PackageReference Include="MSTest" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\src\LSDW.Domain\LSDW.Domain.csproj" />
<ProjectReference Include="..\LSDW.Base.Tests\LSDW.Base.Tests.csproj" />
Expand Down
10 changes: 10 additions & 0 deletions tests/LSDW.Infrastructure.Tests/LSDW.Infrastructure.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk">

<ItemGroup>
<PackageReference Include="coverlet.collector">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="FluentAssertions" />
<PackageReference Include="Moq" />
<PackageReference Include="MSTest" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\src\LSDW.Infrastructure\LSDW.Infrastructure.csproj" />
<ProjectReference Include="..\LSDW.Base.Tests\LSDW.Base.Tests.csproj" />
Expand Down
Loading

0 comments on commit 4ef1cb2

Please sign in to comment.