BlazorStatic icon indicating copy to clipboard operation
BlazorStatic copied to clipboard

Error Installing Template

Open scottkuhl opened this issue 1 year ago • 2 comments

I just tried to install the template using this command (on MacOS):

dotnet new install BlazorStatic.Templates

Which produced the following error:

Error: The template 'BlazorStatic Minimal Blog Site Template' (BlazorStatic.Templates) has the following validation errors:
   [Error][MV012] Source './BlazorStaticMinimalBlog' in template does not exist.
Error: Failed to load the template 'BlazorStatic Minimal Blog Site Template' (BlazorStatic.Templates): the template is not valid.
No templates were found in the package BlazorStatic.Templates::1.0.1.

scottkuhl avatar Oct 06 '24 22:10 scottkuhl

Thank you for the error report.

It's a stupid bug.

I think it is caused by the fact that the actual template ('./BlazorStaticMinimalBlog') is a git submodule, which isn't initialized in github action. The template existence is fairly new thing I didn't even wrote release note about.

Fix is easy (hopefully).

I will let you know once it's done.

tesar-tech avatar Oct 07 '24 07:10 tesar-tech

Done. Template version 1.0.2 Please let me know if it works for you.

tesar-tech avatar Oct 07 '24 08:10 tesar-tech

Fixed. Thanks. Closing the issue.

scottkuhl avatar Oct 07 '24 15:10 scottkuhl