Use NuGet CPM to ensure consistent package versions

Fixes various issues with projects referencing different versions of libraries, causing deployment issues if build order differs
This commit is contained in:
goaaats 2025-10-15 22:57:43 +02:00
parent 168a334756
commit 7b723687a4
14 changed files with 126 additions and 66 deletions

View file

@ -8,15 +8,9 @@
<LangVersion>13.0</LangVersion>
</PropertyGroup>
<!-- Dependency versions -->
<PropertyGroup Label="Dependency Versions">
<LuminaVersion>6.5.1</LuminaVersion>
<NewtonsoftJsonVersion>13.0.3</NewtonsoftJsonVersion>
</PropertyGroup>
<!-- Code analysis settings for all Dalamud projects. -->
<ItemGroup Label="Code Analysis">
<PackageReference Include="Microsoft.CodeAnalysis.BannedApiAnalyzers" Version="3.3.4" PrivateAssets="All" />
<PackageReference Include="Microsoft.CodeAnalysis.BannedApiAnalyzers" PrivateAssets="All" />
<AdditionalFiles Include="$(MSBuildThisFileDirectory)tools\BannedSymbols.txt" />
</ItemGroup>
<!--