-
Notifications
You must be signed in to change notification settings - Fork 243
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
Install template issue #428
Comments
To be honest, I don't yet have knowledge of how to create custom project templates, but I'll give it a try as it doesn't seem difficult. When I have time, I will improve this feature. |
Thank you! That makes sense, we can't all know it. But it was in the readme so I assumed it was there. Mainly i'm struggling / missing a simple how to get this project up and running for myself. Which docker commands in a simple step-by-step guide. Thats why I was trying the Anyway thank you for building this template! Edit: Somehow it started working after 2-3 tries, without docker, without magic. My question is solved. Ofcourse the template would be nice. But thats #429 |
Having a template would indeed be really nice, however for now, you could go ahead and rename all the namespaces and the application name. I successfully was able to do it, so I believe in you ;-) |
What? Has the problem been resolved? Can projects be created using the template now? |
No, I can't create the template with a simple command (as in @Bram1903 I dont understand where your comment is coming from and why Edit, apologies, I read it as I must redo all the namespaces like as a requirement. But it was just good advice you gave. |
No, I meant that it is possible to manually rename the project including all of its corresponding namespaces. I successfully was able to do so at least. Obviously, a template would be better, since you don't have to go through the pain of changing everything manually, since it's an extremely annoying job. However, it is definitely possible to do it manually. |
I think you can now use templates to create your own projects, including new namespaces. I'll update the content of the readme, and some tests and adjustments may still need to be made. |
@neozhu thank you the update made it more clear! I am coming from this repo (https://github.com/jasontaylordev/CleanArchitecture and this guy put it in like the official library. So I was confused that I first had to download the repo, then create my own local .net template to install it somewhere else locally. I would add the steps like
(This all is in your implicit if I take a good look at your screenshot) but its not obvious to me as a new dotnet template user coming from a repo that has 1 line I need to execute. |
I create a nuget library https://www.nuget.org/packages/CleanArchitecture.Blazor.Solution.Template/1.0.0-preview.1 I am not sure it's working. |
Seems to work perfectly for me I ran Seems to create the correct structure and everything. |
Hey Neozhu,
I'm very happy this template exists and i'm going to try to make it work. I can download the code and that will probably work. But in the readme there is a section says
dotnet new ca-blazor-sln
. I don't have this command after runningdotnet new --install sayedha.templates
I tried to create that template.json but that didn't add anything to having the 'ca-blazor-sln' command.
Can you help/provide explanation what I should do?
The text was updated successfully, but these errors were encountered: