-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Template Doesn't Work and Breaks Other Projects #646
Comments
If you find this problem, you can search your disk for Directory.Packages.props and Directory.Build.props. Delete those and the standard templates will start working again. For some reason this template dumped them in my root code directory, which impacted all projects. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps to Reproduce:
dotnet new install Ardalis.CleanArchitecture.Template
dotnet new clean-arch -o 2023-12-example
note project references include /_2023 instead of /2023.
Replace all references to correct, and there were one or two others, repeat until project loads
Build results in errors
Go to any existing project
dotnet build
observe NuGet Error NU1008
open project/obj/project.assets.json
observe 9 Ardalis references which are not part of that project.
dotnet new uninstall Ardalis.CleanArchitecture.Template
mkdir fresh
cd fresh
dotnet new webapi
dotnet build
observe NuGet Error NU1008
The text was updated successfully, but these errors were encountered: