Each .csproj is renamed to just the project's own name within its folder (Core/Musify.Application/Musify.Application.csproj -> Application.csproj, and so on for every Core/Hosts/Tests project) — the Musify.* folder name already carries that information, so the file name was redundant. Explicit <AssemblyName>/<RootNamespace> keep the compiled assembly and C# namespaces unchanged, so this is a build-file-only rename, not a namespace migration. Dockerfiles, Musify.slnx, and every ProjectReference are updated to match.
38 lines
1.6 KiB
XML
38 lines
1.6 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<AssemblyName>Musify.Infrastructure.Tests</AssemblyName>
|
|
<RootNamespace>Musify.Infrastructure.Tests</RootNamespace>
|
|
<IsPackable>false</IsPackable>
|
|
<IsTestProject>true</IsTestProject>
|
|
<OutputType>Exe</OutputType>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<!-- Testcontainers.PostgreSql pulls an older EFCore.Relational transitively;
|
|
pin it explicitly so it doesn't win over the 10.0.8 the rest of the
|
|
solution (and Musify.Infrastructure itself) is built against. -->
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" />
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" />
|
|
<PackageReference Include="NSubstitute" />
|
|
<PackageReference Include="Testcontainers" />
|
|
<PackageReference Include="Testcontainers.PostgreSql" />
|
|
<PackageReference Include="xunit.v3" />
|
|
<PackageReference Include="xunit.runner.visualstudio">
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
<PrivateAssets>all</PrivateAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="coverlet.collector">
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
<PrivateAssets>all</PrivateAssets>
|
|
</PackageReference>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\..\Core\Musify.Domain\Domain.csproj" />
|
|
<ProjectReference Include="..\..\Core\Musify.Application\Application.csproj" />
|
|
<ProjectReference Include="..\..\Core\Musify.Infrastructure\Infrastructure.csproj" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|