© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
22 replies
Hinterhältiger

❔ Error whilst creating new project

Hey everyone.
I get this error every time I try to create a new project using dotnet and the template avalonia.mvvm:
Unable to locate the specified template content, the template cache may be corrupted. Try running 'dotnet Microsoft.TemplateEngine.Cli.CommandParsing.BaseCommandInput --debug:reinit' to fix the issue.
Unable to locate the specified template content, the template cache may be corrupted. Try running 'dotnet Microsoft.TemplateEngine.Cli.CommandParsing.BaseCommandInput --debug:reinit' to fix the issue.

I tried running the command but it isnt recognized by dotnet as a valid command. Is there another way of reloading the template cache?
things I've tried:
-restarting
-reinstalling the dotnet-sdk package

I'm on arch linux btw and installed dotnet using pacman (i.e. native package).
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Creating new project in vscode
C#CC# / help
2y ago
Error with new project
C#CC# / help
10mo ago
error on new WPF project
C#CC# / help
12mo ago
❔ deployment error MAUI new project
C#CC# / help
3y ago