Skip to content

Commit fae93da

Browse files
📦 Upgrade to .NET 10
1 parent b46a41b commit fae93da

29 files changed

+267
-494
lines changed

.template.config/template.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"generator": "constant",
2525
"replaces": "caPackageVersion",
2626
"parameters": {
27-
"value": "9.0.12"
27+
"value": "10.0.0-preview"
2828
}
2929
},
3030
"caRepositoryUrl": {
@@ -142,8 +142,6 @@
142142
"**/*.user",
143143
"**/*.lock.json",
144144
"*.nuspec",
145-
"src/Infrastructure/Data/SQLite/**",
146-
"src/Infrastructure/Data/PostgreSQL/**",
147145
"src/Web/appsettings.Development.json",
148146
"src/Web/appsettings.PostgreSQL.json",
149147
"src/Web/appsettings.SQLite.json",
@@ -222,7 +220,6 @@
222220
{
223221
"condition": "(UsePostgreSQL)",
224222
"include": [
225-
"src/Infrastructure/Data/PostgreSQL/**",
226223
"src/Web/appsettings.PostgreSQL.json",
227224
"tests/Application.FunctionalTests/PostgreSQLTestcontainersTestDatabase.cs",
228225
"tests/Application.FunctionalTests/PostgreSQLTestDatabase.cs",
@@ -245,7 +242,6 @@
245242
{
246243
"condition": "(UseSqlite)",
247244
"include": [
248-
"src/Infrastructure/Data/SQLite/**",
249245
"src/Web/appsettings.SQLite.json",
250246
"tests/Application.FunctionalTests/SqliteTestDatabase.cs"
251247
],

CleanArchitecture.nuspec

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,16 @@
33
<metadata>
44

55
<id>Clean.Architecture.Solution.Template</id>
6-
<version>9.0.12</version>
6+
<version>10.0.0</version>
77
<title>Clean Architecture Solution Template</title>
88
<authors>JasonTaylorDev</authors>
9-
<description>Clean Architecture Solution Template for .NET 9.</description>
9+
<description>Clean Architecture Solution Template for .NET 10</description>
1010
<summary>
11-
A Clean Architecture Solution Template for creating apps using Angular, React, or Web API only with ASP.NET Core.
11+
A Clean Architecture Solution Template for creating apps using Angular, React, or Web API only with ASP.NET Core (and optional Aspire).
1212
</summary>
1313
<releaseNotes>
14-
🐛 Fixed bug with registration of LoggingBehaviour.
15-
🐛 Fixed bug with reuse of ValidationContext in ValidationBehaviour.
16-
✨ Refactored endpoint mapping to use RouteGroupBuilder.
17-
✨ Implementation of TSX support in React template.
18-
🐛 Fix KeyVault / secret name mismatch in Bicep templates.
19-
📦 Replace FluentAssertions with Shouldly in tests.
20-
🐛 Fix using dotnet-ef with artifacts path.
21-
✨ Improved performance of authorisation.
22-
✨ Enable simplified output paths.
14+
📦 Upgrade to .NET 10
15+
📦 Upgrade to Aspire 13
2316
</releaseNotes>
2417

2518
<projectUrl>https://github.com/JasonTaylorDev/CleanArchitecture</projectUrl>

CleanArchitecture.sln

Lines changed: 0 additions & 124 deletions
This file was deleted.

CleanArchitecture.slnx

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<Solution>
2+
<Folder Name="/Solution Items/">
3+
<File Path=".editorconfig" />
4+
<File Path=".gitignore" />
5+
<File Path="Directory.Build.props" />
6+
<File Path="Directory.Packages.props" />
7+
<File Path="global.json" />
8+
<File Path="README.md" />
9+
</Folder>
10+
<Folder Name="/src/">
11+
<!--#if (UseAspire)-->
12+
<Project Path="src/AppHost/AppHost.csproj" />
13+
<Project Path="src/ServiceDefaults/ServiceDefaults.csproj" />
14+
<!--#endif-->
15+
<Project Path="src/Application/Application.csproj" />
16+
<Project Path="src/Domain/Domain.csproj" />
17+
<Project Path="src/Infrastructure/Infrastructure.csproj" />
18+
<Project Path="src/Web/Web.csproj" />
19+
</Folder>
20+
<Folder Name="/tests/">
21+
<Project Path="tests/Application.FunctionalTests/Application.FunctionalTests.csproj" />
22+
<Project Path="tests/Application.UnitTests/Application.UnitTests.csproj" />
23+
<Project Path="tests/Domain.UnitTests/Domain.UnitTests.csproj" />
24+
<Project Path="tests/Infrastructure.IntegrationTests/Infrastructure.IntegrationTests.csproj" />
25+
<!--#if (!UseApiOnly)-->
26+
<Project Path="tests/Web.AcceptanceTests/Web.AcceptanceTests.csproj" />
27+
<!--#endif-->
28+
</Folder>
29+
</Solution>

Directory.Build.props

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<!-- See https://aka.ms/dotnet/msbuild/customize for more details on customizing your build -->
22
<Project>
33
<PropertyGroup>
4-
<TargetFramework>net9.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
6-
<WarningsNotAsErrors>NU1901;NU1902;NU1903;NU1904</WarningsNotAsErrors>
6+
<!--#if (UsePostgreSQL)-->
7+
<!-- Suppress NU1608 until Npgsql.EntityFrameworkCore.PostgreSQL 10.0.0 is released -->
8+
<WarningsNotAsErrors>NU1608</WarningsNotAsErrors>
9+
<!--#endif-->
710
<ArtifactsPath>$(MSBuildThisFileDirectory)artifacts</ArtifactsPath>
811
<ImplicitUsings>enable</ImplicitUsings>
912
<Nullable>enable</Nullable>
1013
</PropertyGroup>
11-
<!-- To use dotnet ef without 'msbuildprojectextensionspath' - fixed in .NET 10 -->
12-
<Import Condition="Exists('$(MSBuildProjectDirectory)\obj\$(MSBuildProjectFile).EntityFrameworkCore.targets')"
13-
Project="$(MSBuildProjectDirectory)\obj\$(MSBuildProjectFile).EntityFrameworkCore.targets"/>
1414
</Project>

0 commit comments

Comments
 (0)