Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

How to fix "failed to create template" when creating new dotnet project?

I’m trying to write my fist console app walking through this tutorial :
https://dotnet.microsoft.com/en-us/learn/dotnet/hello-world-tutorial/install

after installing .NET sdk and opening a new command prompt and running the following command:dotnet
everything went smoothly but after entering this command:

dotnet new console -o MyApp -f net6.0

this error showed up

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

enter image description here

any solutions?

>Solution :

I think the answer here should be easy. You are inside the System32 folder in Windows, which is critical and normally you do not have Writing Permissions in there, because it is VERY critical to the windows operating System and you should store your projects in another folder.

Maybe try another folder, like Documents or something like that, or is there a reason you want to do that there?

You can read through the forum at This Link, if you want to know more about it. There also stands, how you can access this specific folder if you really want to. (Which I really do not recommend, unless you really know your stuff)

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading