Probably a dumb question I am asking, but did you restart Visual Studio?
You should see the templates.
Also what version of Visual Studio are you running AND do you have ASP.Net Core installed on your computer? Do you have the latest .Net SDK installed?
Core theoretically should be 6.0 SDK.
My assumption is you can run all the 'dotnet' commands in your command line.
If you run CMD and run the command
dotnet --version
You should see 6.0.x
And if you run
dotnet --info
You should see some "Core" info come up.
dotnet --list-sdks
lists your SDKs
You also ran
dotnet new -i Umbraco.Templates::*
And if you do a
dotnet new -all
Do you see the Umbraco Project templates?
2019 Community should be perfectly fine to run the project.
Also, just try searching for "Umbraco" a few more times in the new Projects section in Visual Studio.
I just did an update of my SDK to 6.0 and installed the templates via the dotnet commands on another computer, and followed the steps and it took me a few times searching for "Umbraco" and it finally came up.
It didn't come up the first time, but I cleared the search box a few times and it came up.
That is very strange that is happening. Your system has the templates and everything needed to see those templates, Visual Studio is just not seeing them.
My last suggestion would be to see if you can download and install Visual Studio 2022 Community and set up in the installer, select all the C#, Core, etc. selections you would need, let it do all the SDK installs it needs with the latest ASP.Net Core 6 SDK, ASP.Net 4.8, etc. , and then see if you can see the templates with the newest version of Visual Studio.
By all indications you have shown, your VS2019 version should be able to pull up those templates, but since 2022 is built to handle all the newest SDKs in the past few years, maybe it will be able to create a new cache and see the templates.
I had the exact same issue. I use Visual Studio 2019 for my daily work which is 99% .Net Framework and not Core projects.
I followed the instructions to install the Core Umbraco templates but no matter what I did I could not get them to show up in the "Create New Project" dialog in Visual Studio.
I had assumed that the problem lay with the way my "home" directory is managed in my work environment ... it's aliased to a server and not actually on my local machine.
However, then I decided to do a Core 6 project and discovered that Visual Studio 2019 does not support Core 6. So I installed Visual Studio 2022. Lo and behold, when I opened the "Create New Project" dialog THERE were the Umbraco templates listed!
So, now I don't think it has anything to do with my environment. I think those templates just don't work in Visual Studio 2019.
You can run VS 2019 and VS 2022 concurrently so you might as well just download and install it. BTW you'll love the new intellisense. I swear it can read my mind. The code practically writes itself. lol
Thanks Chester for verifying. I am able to run Visual Studio 2019 and get the templates to show up, but VS2022 has the Core 6 SDK built right in. I too run them concurrently, but since I have VS2022 installed, I am wondering if that is now why it shows up in VS2019.
When in doubt, go with the brand new shiny version and bypass any headaches.
i tried to install new templete of umbraco 11 it gives me
PS D:\HelpProjects> dotnet new install Umbraco.Templates
The following template packages will be installed:
Umbraco.Templates
Umbraco.Templates (version 10.2.0) is already installed, it will be replaced with latest version.
Failed to install Umbraco.Templates, the template package is invalid.
Can't find Umbraco Project template in Visual Studio
I have installed the Umbraco Template but I can't find it when I want to create a new project from Visual Studio. Any tips?
Josefine
Probably a dumb question I am asking, but did you restart Visual Studio? You should see the templates. Also what version of Visual Studio are you running AND do you have ASP.Net Core installed on your computer? Do you have the latest .Net SDK installed?
https://our.umbraco.com/documentation/Fundamentals/Setup/Install/install-umbraco-with-templates
Thanks for your questions.
I have Visual Studio 2019 - Community. I have restart Visual Studio (also the computer)
How can I see if I have ASP.Net Core installed?
Yes, I follow the guide and have installed latest .Net SDK
Hi,
Core theoretically should be 6.0 SDK. My assumption is you can run all the 'dotnet' commands in your command line.
If you run CMD and run the command
You should see 6.0.x
And if you run
You should see some "Core" info come up.
lists your SDKs
You also ran
And if you do a
Do you see the Umbraco Project templates?
2019 Community should be perfectly fine to run the project.
Also, just try searching for "Umbraco" a few more times in the new Projects section in Visual Studio.
I just did an update of my SDK to 6.0 and installed the templates via the dotnet commands on another computer, and followed the steps and it took me a few times searching for "Umbraco" and it finally came up.
It didn't come up the first time, but I cleared the search box a few times and it came up.
I have tried to clear the search several times but still can not find Umbraco in Visual Studio
Hmmm. Odd.
What if you do a
What I see in mine
I didn't see it at first when I ran the --list and I did the and definitely didn't come up on in the -all command.
I ran the install script again.
and it looks like the command uninstalls and reinstalls the templates.
You can try to do it in the Windows "user" section of your system as well.
CMD running as admin
C:\Users\WhateverYourUser_Is> and run the Umbraco Templates command there too. Not sure if this will make any difference.
And if anything try a full uninstall and try again.
Maybe run Visual Studio as an admin as well to try.
And then try the install again. Then restart Visual Studio and try searching a few times to see if they come up.
Have you been able to create an empty ASP.Net Core project in the past using Visual Studio project selector?
I've tested everything you wrote but I still can not find Umbraco in Visual Studio
This is the first time I want to new create project with ASP.Net Core. I can create this
That is very strange that is happening. Your system has the templates and everything needed to see those templates, Visual Studio is just not seeing them.
My last suggestion would be to see if you can download and install Visual Studio 2022 Community and set up in the installer, select all the C#, Core, etc. selections you would need, let it do all the SDK installs it needs with the latest ASP.Net Core 6 SDK, ASP.Net 4.8, etc. , and then see if you can see the templates with the newest version of Visual Studio.
By all indications you have shown, your VS2019 version should be able to pull up those templates, but since 2022 is built to handle all the newest SDKs in the past few years, maybe it will be able to create a new cache and see the templates.
Thank you so much for all your help!
I called my friend and we solved it by running dotnet version 5 and installing Umbraco again. Now I can see Umbraco Templates in Visual Studio 2019 :)
I had the exact same issue. I use Visual Studio 2019 for my daily work which is 99% .Net Framework and not Core projects.
I followed the instructions to install the Core Umbraco templates but no matter what I did I could not get them to show up in the "Create New Project" dialog in Visual Studio.
I had assumed that the problem lay with the way my "home" directory is managed in my work environment ... it's aliased to a server and not actually on my local machine.
However, then I decided to do a Core 6 project and discovered that Visual Studio 2019 does not support Core 6. So I installed Visual Studio 2022. Lo and behold, when I opened the "Create New Project" dialog THERE were the Umbraco templates listed!
So, now I don't think it has anything to do with my environment. I think those templates just don't work in Visual Studio 2019.
You can run VS 2019 and VS 2022 concurrently so you might as well just download and install it. BTW you'll love the new intellisense. I swear it can read my mind. The code practically writes itself. lol
Thanks Chester for verifying. I am able to run Visual Studio 2019 and get the templates to show up, but VS2022 has the Core 6 SDK built right in. I too run them concurrently, but since I have VS2022 installed, I am wondering if that is now why it shows up in VS2019.
When in doubt, go with the brand new shiny version and bypass any headaches.
i am using vs 2022 already installed .net 5&7
i tried to install new templete of umbraco 11 it gives me
The following template packages will be installed: Umbraco.Templates
Umbraco.Templates (version 10.2.0) is already installed, it will be replaced with latest version. Failed to install Umbraco.Templates, the template package is invalid.
how can fix that
is working on a reply...