Create Heimdall solution with 17 projects following Clean Architecture for a maintainable and loosely coupled codebase. src/ (9 projects): - Domain, Domain.Primitives, Contracts (core layer, no deps) - Application (ref. Domain) — CQRS/MediatR ready - Infrastructure (ref. Application + Domain) — EF Core PostgreSQL ready - Api, Web (Blazor), Agent, Workers (hosts, ref. Application + Infrastructure) tests/ (8 projects): - xUnit + Shouldly + NSubstitute + bUnit (Web.Tests) - One test project per source project (Domain -> IntegrationTests) Config: Directory.Build.props (Nullable, ImplicitUsings, TreatWarningsAsErrors)
28 lines
945 B
XML
28 lines
945 B
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net10.0</TargetFramework>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
<IsPackable>false</IsPackable>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="coverlet.collector" Version="6.0.4" />
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
|
|
<PackageReference Include="NSubstitute" Version="6.0.0" />
|
|
<PackageReference Include="Shouldly" Version="4.3.0" />
|
|
<PackageReference Include="xunit" Version="2.9.3" />
|
|
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.4" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Using Include="Xunit" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\..\src\Heimdall.Application\Heimdall.Application.csproj" />
|
|
<ProjectReference Include="..\..\src\Heimdall.Domain\Heimdall.Domain.csproj" />
|
|
</ItemGroup>
|
|
|
|
</Project> |