question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Install template issue

See original GitHub issue

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 running dotnet 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?

Issue Analytics

  • State:closed
  • Created 3 months ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
neozhucommented, Jul 4, 2023

@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

  1. Download/Clone this repo
  2. Unzip
  3. Run dotnet new install ./ //this puts the repo into a local .net template

(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 and I add build package action to deploy to nuget when pushing the branch main.

I am not sure it’s working.

2reactions
neozhucommented, Jul 3, 2023

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Configuring issue templates for your repository
Creating issue templates · On GitHub.com, navigate to the main page of the repository. · Under your repository name, click Settings. · In...
Read more >
Manually creating a single issue template for your repository
On GitHub.com, navigate to the main page of the repository. Above the list of files, select the Add file dropdown menu, then click...
Read more >
Apply template - Issue Templates for Jira
Create an issue or open an existing one. Click More in the issue view. Select Apply Template. Select a template from the list....
Read more >
Step-by-Step Guide to Creating Issue Templates in GitLab
2. On the left navigation, hover on Settings, click General. Look for “Default issue template” section, and click Expand button.
Read more >
Installing Template Starter Plugin | Failing
I was following a tutorial and I used the “Template Starter” plugin with the Astra theme. The theme works fine when installing and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found