StaticSphere / clean-architecture-dotnet-template

A dotnet template for creating Clean Architecture solutions
22 stars 12 forks source link

Problem in Template Namespace #2

Open Velobook opened 2 years ago

Velobook commented 2 years ago

Hello I just uploaded your Template but it seems there are errors in files All Namespaces lines are with an sem-colon ; at the end and without brackets namespace CleanArchTemplate.Application.Endpoints.People.Queries;

Regards

StaticSphere commented 2 years ago

Hi Velobook! This is a .NET 6 template, and the format that you're seeing is the new file-scoped namespaces. If you want a template for .NET 5, you can grab the 1.0 version of the Nuget package: dotnet new --install StaticSphere.CleanArchitecture.Api::1.0.0. Please let me know if this doesn't work for you.