refactor: central package management, shared build props, security fix
- Add Directory.Packages.props (CPM): all package versions centralized, remove Version attributes from every PackageReference - Add Directory.Build.props: shared TargetFramework/Nullable/ImplicitUsings - Drop redundant per-project RootNamespace/AssemblyName (default = project name) and stale NuGet metadata (PackageId/Version/Authors/RepositoryUrl) - Bump Microsoft.OpenApi to 2.9.0 (CVE-2026-49451, was transitive 2.0.0); add explicit reference in Musify.Api which uses it directly - Add repo-scoped nuget.config pinning nuget.org for reproducible restore Build: 0 warnings, 0 errors. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -1,15 +1,3 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net10.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<RootNamespace>Musify.Domain</RootNamespace>
|
||||
<PackageId>Musify.Domain</PackageId>
|
||||
<Version>0.1.2</Version>
|
||||
<Authors>NotS1mp</Authors>
|
||||
<RepositoryUrl>https://github.com/XShine555/MusifyBackend</RepositoryUrl>
|
||||
</PropertyGroup>
|
||||
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
</Project>
|
||||
|
||||
Reference in New Issue
Block a user