You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PS C:\proj> dotnet new install Ardalis.CleanArchitecture.Template
The following template packages will be installed:
Ardalis.CleanArchitecture.Template
Ardalis.CleanArchitecture.Template (version 9.1.2) is already installed, it will be replaced with latest version.
Ardalis.CleanArchitecture.Template::9.1.2 was successfully uninstalled.
Success: Ardalis.CleanArchitecture.Template::9.1.2 installed the following templates:
Template Name Short Name Language Tags
-----------------------------------------------------------------------------------
ASP.NET Clean Architecture Solution clean-arch [C#] Web/ASP.NET/Clean ArchitecturePSC:\proj>dotnetnewclean-arch-oclean-architectureThetemplate"ASP.NET Clean Architecture Solution"wascreatedsuccessfully.PSC:\proj>cd .\clean-architecture\
PSC:\proj\clean-architecture>lsDirectory: C:\proj\clean-architectureModeLastWriteTimeLengthName---------------------------d----22/04/202415:56srcd----22/04/202415:56tests-a---22/04/202415:567348 .editorconfig-a---22/04/202415:5610601clean-architecture.sln-a---22/04/202415:56263CODE_OF_CONDUCT.md-a---22/04/202415:562092CONTRIBUTING.md-a---22/04/202415:56449Directory.Build.props-a---22/04/202415:562970Directory.Packages.props-a---22/04/202415:5684global.json-a---22/04/202415:5647548icon.png-a---22/04/202415:561089LICENSE-a---22/04/202415:56746nuget.config-a---22/04/202415:5622878README.md
Launch the newly created template
PS C:\proj\clean-architecture> dotnet run --project .\src\clean-architecture.Web\
Building...
C:\Program Files\dotnet\sdk\8.0.202\Microsoft.Common.CurrentVersion.targets(2153,5): warning : The referenced project '..\clean_architecture.Infrastructure\clean_architecture.Infrastructure.csproj' does not ex
ist. [C:\proj\clean-architecture\src\clean-architecture.Web\clean-architecture.Web.csproj]
C:\Program Files\dotnet\sdk\8.0.202\Microsoft.Common.CurrentVersion.targets(2153,5): warning : The referenced project '..\clean_architecture.UseCases\clean_architecture.UseCases.csproj' does not exist. [C:\proj\clean-architecture\src\clean-architecture.Web\clean-architecture.Web.csproj]
C:\proj\clean-architecture\src\clean-architecture.Web\Contributors\Create.CreateContributorValidator.cs(1,26): error CS0234: The type or namespace name 'Infrastructure' does not exist in the namespace 'clean_architecture' (are you missing an assembly reference?) [C:\proj\clean-architecture\src\clean-architecture.Web\clean-architecture.Web.csproj]
C:\proj\clean-architecture\src\clean-architecture.Web\Contributors\Create.cs(1,26): error CS0234: The type or namespace name 'UseCases' does not exist in the namespace 'clean_architecture' (are you missing an
assembly reference?) [C:\proj\clean-architecture\src\clean-architecture.Web\clean-architecture.Web.csproj]
C:\proj\clean-architecture\src\clean-architecture.Web\Contributors\Delete.cs(2,26): error CS0234: The type or namespace name 'UseCases' does not exist in the namespace 'clean_architecture' (are you missing an
assembly reference?) [C:\proj\clean-architecture\src\clean-architecture.Web\clean-architecture.Web.csproj]
C:\proj\clean-architecture\src\clean-architecture.Web\Contributors\GetById.cs(2,26): error CS0234: The type or namespace name 'UseCases' does not exist in the namespace 'clean_architecture' (are you missing an
assembly reference?) [C:\proj\clean-architecture\src\clean-architecture.Web\clean-architecture.Web.csproj]
C:\proj\clean-architecture\src\clean-architecture.Web\Contributors\List.cs(2,26): error CS0234: The type or namespace name 'UseCases' does not exist in the namespace 'clean_architecture' (are you missing an as
sembly reference?) [C:\proj\clean-architecture\src\clean-architecture.Web\clean-architecture.Web.csproj]
C:\proj\clean-architecture\src\clean-architecture.Web\Contributors\List.cs(3,26): error CS0234: The type or namespace name 'UseCases' does not exist in the namespace 'clean_architecture' (are you missing an as
sembly reference?) [C:\proj\clean-architecture\src\clean-architecture.Web\clean-architecture.Web.csproj]
C:\proj\clean-architecture\src\clean-architecture.Web\Contributors\Update.cs(2,26): error CS0234: The type or namespace name 'UseCases' does not exist in the namespace 'clean_architecture' (are you missing an
assembly reference?) [C:\proj\clean-architecture\src\clean-architecture.Web\clean-architecture.Web.csproj]
C:\proj\clean-architecture\src\clean-architecture.Web\Contributors\Update.cs(3,26): error CS0234: The type or namespace name 'UseCases' does not exist in the namespace 'clean_architecture' (are you missing an
assembly reference?) [C:\proj\clean-architecture\src\clean-architecture.Web\clean-architecture.Web.csproj]
C:\proj\clean-architecture\src\clean-architecture.Web\Contributors\Update.UpdateContributorValidator.cs(1,26): error CS0234: The type or namespace name 'Infrastructure' does not exist in the namespace 'clean_a rchitecture' (are you missing an assembly reference?) [C:\proj\clean-architecture\src\clean-architecture.Web\clean-architecture.Web.csproj]
C:\proj\clean-architecture\src\clean-architecture.Web\Program.cs(3,15): error CS0234: The type or namespace name 'SharedKernel' does not exist in the namespace 'Ardalis' (are you missing an assembly reference?
) [C:\proj\clean-architecture\src\clean-architecture.Web\clean-architecture.Web.csproj]
C:\proj\clean-architecture\src\clean-architecture.Web\Program.cs(4,26): error CS0234: The type or namespace name 'Core' does not exist in the namespace 'clean_architecture' (are you missing an assembly referen
ce?) [C:\proj\clean-architecture\src\clean-architecture.Web\clean-architecture.Web.csproj]
C:\proj\clean-architecture\src\clean-architecture.Web\Program.cs(5,26): error CS0234: The type or namespace name 'Core' does not exist in the namespace 'clean_architecture' (are you missing an assembly referen
ce?) [C:\proj\clean-architecture\src\clean-architecture.Web\clean-architecture.Web.csproj]
C:\proj\clean-architecture\src\clean-architecture.Web\Program.cs(6,26): error CS0234: The type or namespace name 'Infrastructure' does not exist in the namespace 'clean_architecture' (are you missing an assemb
ly reference?) [C:\proj\clean-architecture\src\clean-architecture.Web\clean-architecture.Web.csproj]
C:\proj\clean-architecture\src\clean-architecture.Web\Program.cs(7,26): error CS0234: The type or namespace name 'Infrastructure' does not exist in the namespace 'clean_architecture' (are you missing an assemb
ly reference?) [C:\proj\clean-architecture\src\clean-architecture.Web\clean-architecture.Web.csproj]
C:\proj\clean-architecture\src\clean-architecture.Web\Program.cs(8,26): error CS0234: The type or namespace name 'Infrastructure' does not exist in the namespace 'clean_architecture' (are you missing an assemb
ly reference?) [C:\proj\clean-architecture\src\clean-architecture.Web\clean-architecture.Web.csproj]
C:\proj\clean-architecture\src\clean-architecture.Web\Program.cs(9,26): error CS0234: The type or namespace name 'UseCases' does not exist in the namespace 'clean_architecture' (are you missing an assembly ref
erence?) [C:\proj\clean-architecture\src\clean-architecture.Web\clean-architecture.Web.csproj]
The build failed. Fix the build errors and run again.
PS C:\proj\clean-architecture>
The text was updated successfully, but these errors were encountered:
Steps to Reproduce:
The text was updated successfully, but these errors were encountered: