Migrata gestione versioni pacchetti unificandola, update readme md

This commit is contained in:
Samuele Locatelli
2026-01-23 15:56:03 +01:00
parent cf426d40c5
commit 23f2955bc0
8 changed files with 104 additions and 37 deletions
+36
View File
@@ -0,0 +1,36 @@
<Project>
<PropertyGroup>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<CentralPackageTransitivePinningEnabled>false</CentralPackageTransitivePinningEnabled>
</PropertyGroup>
<ItemGroup>
<PackageVersion Include="Egw.Lux.WebWindow.Base" Version="2.8.1.2309" />
<PackageVersion Include="Egw.Lux.WebWindowComplex" Version="2.8.1.2309" />
<PackageVersion Include="Egw.Window.Data" Version="2.8.1.2116" />
<PackageVersion Include="EgwCoreLib.Razor" Version="1.5.2511.312" />
<PackageVersion Include="EgwCoreLib.Utils" Version="1.5.2511.312" />
<PackageVersion Include="EgwMultiEngineManager.Data" Version="2.7.12.1" />
<PackageVersion Include="Microsoft.AspNetCore.Components.WebAssembly" Version="8.0.23" />
<PackageVersion Include="Microsoft.AspNetCore.Components.WebAssembly.Authentication" Version="8.0.23" />
<PackageVersion Include="Microsoft.AspNetCore.Components.WebAssembly.Server" Version="8.0.23" />
<PackageVersion Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="8.0.23" />
<PackageVersion Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="8.0.23" />
<PackageVersion Include="Microsoft.EntityFrameworkCore" Version="8.0.23" />
<PackageVersion Include="Microsoft.EntityFrameworkCore.Abstractions" Version="8.0.23" />
<PackageVersion Include="Microsoft.EntityFrameworkCore.Analyzers" Version="8.0.23" />
<PackageVersion Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.23" />
<PackageVersion Include="Microsoft.EntityFrameworkCore.Relational" Version="8.0.23" />
<PackageVersion Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.23" />
<PackageVersion Include="Microsoft.EntityFrameworkCore.Tools" Version="8.0.23" />
<PackageVersion Include="Microsoft.Extensions.Configuration.Binder" Version="9.0.12" />
<PackageVersion Include="Microsoft.Extensions.Hosting.Abstractions" Version="9.0.12" />
<PackageVersion Include="Newtonsoft.Json" Version="13.0.4" />
<PackageVersion Include="NLog" Version="6.0.7" />
<PackageVersion Include="NLog.Web.AspNetCore" Version="6.1.0" />
<PackageVersion Include="Pomelo.EntityFrameworkCore.MySql" Version="8.0.3" />
<PackageVersion Include="Radzen.Blazor" Version="8.6.5" />
<PackageVersion Include="RestSharp" Version="112.1.0" />
<PackageVersion Include="StackExchange.Redis" Version="2.8.41" />
<PackageVersion Include="Swashbuckle.AspNetCore" Version="6.6.2" />
</ItemGroup>
</Project>
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<PackageId>EgwCoreLib.Lux.Core</PackageId>
@@ -21,9 +21,9 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Egw.Lux.WebWindow.Base" Version="2.8.1.2309" />
<PackageReference Include="Egw.Lux.WebWindowComplex" Version="2.8.1.2309" />
<PackageReference Include="Egw.Window.Data" Version="2.8.1.2116" />
<PackageReference Include="EgwMultiEngineManager.Data" Version="2.7.12.1" />
<PackageReference Include="Egw.Lux.WebWindow.Base" />
<PackageReference Include="Egw.Lux.WebWindowComplex" />
<PackageReference Include="Egw.Window.Data" />
<PackageReference Include="EgwMultiEngineManager.Data" />
</ItemGroup>
</Project>
+15 -15
View File
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<PackageId>EgwCoreLib.Lux.Data</PackageId>
@@ -29,26 +29,26 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Egw.Lux.WebWindow.Base" Version="2.8.1.2309" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.23" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Abstractions" Version="8.0.23" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Analyzers" Version="8.0.23" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.23">
<PackageReference Include="Egw.Lux.WebWindow.Base" />
<PackageReference Include="Microsoft.EntityFrameworkCore" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Abstractions" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Analyzers" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="8.0.23" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="8.0.23">
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="9.0.12" />
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="9.0.12" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.4" />
<PackageReference Include="NLog" Version="6.0.7" />
<PackageReference Include="Pomelo.EntityFrameworkCore.MySql" Version="8.0.3" />
<PackageReference Include="RestSharp" Version="112.1.0" />
<PackageReference Include="StackExchange.Redis" Version="2.8.41" />
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" />
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" />
<PackageReference Include="Newtonsoft.Json" />
<PackageReference Include="NLog" />
<PackageReference Include="Pomelo.EntityFrameworkCore.MySql" />
<PackageReference Include="RestSharp" />
<PackageReference Include="StackExchange.Redis" />
</ItemGroup>
<ItemGroup>
+3 -3
View File
@@ -65,9 +65,9 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="NLog" Version="6.0.7" />
<PackageReference Include="NLog.Web.AspNetCore" Version="6.1.0" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.6.2" />
<PackageReference Include="NLog" />
<PackageReference Include="NLog.Web.AspNetCore" />
<PackageReference Include="Swashbuckle.AspNetCore" />
</ItemGroup>
<ItemGroup>
+5
View File
@@ -13,6 +13,11 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lux.UI.Client", "Lux.UI.Cli
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lux.API", "Lux.API\Lux.API.csproj", "{803F1751-6183-45DE-A914-56EF91AF8637}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution", "Solution", "{A29BFC2D-F084-4068-83E7-43CF920C8D6B}"
ProjectSection(SolutionItems) = preProject
Directory.Packages.props = Directory.Packages.props
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
+4 -4
View File
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
@@ -9,9 +9,9 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Egw.Lux.WebWindowComplex" Version="2.8.1.2309" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="8.0.23" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Authentication" Version="8.0.23" />
<PackageReference Include="Egw.Lux.WebWindowComplex" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Authentication" />
</ItemGroup>
<ItemGroup>
+10 -10
View File
@@ -17,16 +17,16 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Egw.Lux.WebWindowComplex" Version="2.8.1.2309" />
<PackageReference Include="EgwCoreLib.Razor" Version="1.5.2511.312" />
<PackageReference Include="EgwCoreLib.Utils" Version="1.5.2511.312" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Server" Version="8.0.23" />
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="8.0.23" />
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="8.0.23" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.23" />
<PackageReference Include="NLog" Version="6.0.7" />
<PackageReference Include="NLog.Web.AspNetCore" Version="6.1.0" />
<PackageReference Include="Radzen.Blazor" Version="8.6.5" />
<PackageReference Include="Egw.Lux.WebWindowComplex" />
<PackageReference Include="EgwCoreLib.Razor" />
<PackageReference Include="EgwCoreLib.Utils" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Server" />
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" />
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" />
<PackageReference Include="NLog" />
<PackageReference Include="NLog.Web.AspNetCore" />
<PackageReference Include="Radzen.Blazor" />
</ItemGroup>
<ItemGroup>
+26
View File
@@ -179,6 +179,29 @@ Esempi di vetri
#### Pezzo
## Info progetto
2026.01.21: aggiornata struttura dipendenze pacchetti con Directory.Package.props,
Per aggiornare progetti esistenti, si è impiegato un tool installago globalmente (https://github.com/Webreaper/CentralisedPackageConverter), col comando (da package manager console):
dotnet tool install CentralisedPackageConverter --global
e poi test con
central-pkg-converter -d .
ed esecuzione con
central-pkg-converter -f .
Per ulteriori info vedere link:
- https://learn.microsoft.com/en-us/nuget/consume-packages/central-package-management
- https://devblogs.microsoft.com/dotnet/introducing-central-package-management/
- https://www.milanjovanovic.tech/blog/central-package-management-in-net-simplify-nuget-dependencies
- https://github.com/Webreaper/CentralisedPackageConverter
- https://www.youtube.com/watch?v=BwHvI6lj7xA
## Version History
@@ -186,6 +209,9 @@ Esempi di vetri
tabella versioni
| Versione | Data | Note |
| -------- | ---------- | ----------------------------------------------------------------------------------- |
| 0.9.x.x | 2025.08.20 | Gestione cicli lavoro (configurazione) preliminare |
| 0.9.x.x | 2025.08.20 | Gestione cicli lavoro (configurazione) preliminare |
| 0.8.x.x | 2025.08.19 | Riorganizzazione DbModels e inserimento voci calcolo fasi/stage e costo lavorazioni |
| 0.7.x.x | 2025.08.17 | Implementate correzioni calcoli BOM |