I'm having some issue with installing umbraco 9. I have added the nuget source using the command line. So far so good..
When trying to install the template, it searches only my local nuget server (running BaGet) and of cause fails. I assumed that all available nuget sources would be searched? Is there a parameter i can add that instructs which nuget source i want to use?
No.. it fails while trying to install the template.. and in the error description, I can se that it tries to get the template from my local nuget source - not the Umbraco Prerelease source...?!
But i have the same issue when trying to crate a project.. somehow my local nuget source takes precedence over everything else..?? .. need to gain some knowledge here...
Everything looks fine.. then i tried to remove my local nuget source from nuget.config.. and then it moved on a bit.. ;) .. but just to fail when just trying to get the umbraco bits from the next source which in this case was a nuget source from Telerik... :-/
I hope this is just a minor bug in the dotnet core template thing as this is pretty useless if you cannot have additional nuget sources besides nuget.org and the myget umbraco source...!!
I tried to disable a couple of sources, and then it worked.. ;)
It seems that dotnet core is unhappy with the answer from BaGet nuget server, and my login for Telerik nuget server is no longer valid.. with these two out of the way, everything works fine... ;)
When building umbraco 8 solutions on .NET 4.8 I don't have theese issues..?!
Installation issues
Hi,
I'm having some issue with installing umbraco 9. I have added the nuget source using the command line. So far so good..
When trying to install the template, it searches only my local nuget server (running BaGet) and of cause fails. I assumed that all available nuget sources would be searched? Is there a parameter i can add that instructs which nuget source i want to use?
/ulrich
Hi Ulrich,
I also tried installing Umbraco 9 beta release. I first added a new nuget source with the following command:
Did you do this and check if its there as a nuget source by running the following command?
And after that I could install the template
And then create a new custom solution based upon this template.
Hopefully this will help!
Kind regards, Henk Jan Pluim
Hi Henk,
Yes i added the source and
dotnet nuget list source
also lists the Umbraco Prereleases source./ulrich
Hi Ulrich,
So if I understand you correctly the next step would be:
Is the template umbraco listed when you do a
dotnet new --list
command?Which message you receive when you create a new umbraco project with the first command?
Kind regards, Henk Jan Pluim
Hi Henk,
No.. it fails while trying to install the template.. and in the error description, I can se that it tries to get the template from my local nuget source - not the Umbraco Prerelease source...?!
/ulrich
Hi Ulrich,
You can specify where to install the template from:
Hopefully this will help.
Kind regards, Henk Jan Pluim
Hi Henk,
Thanks.. that got me one step further... ;)
But i have the same issue when trying to crate a project.. somehow my local nuget source takes precedence over everything else..?? .. need to gain some knowledge here...
Thanks so far.. ;)
/ulrich
Hi Ulrich,
Thats great to hear! Maybe taking a look at your NuGet default configuration can help you tweak the nuget behaviour..
Common NuGet configuration
Cheers, have a nice Sunday!
Kind regards, Henk Jan Pluim
Hi Henk,
Everything looks fine.. then i tried to remove my local nuget source from nuget.config.. and then it moved on a bit.. ;) .. but just to fail when just trying to get the umbraco bits from the next source which in this case was a nuget source from Telerik... :-/
I hope this is just a minor bug in the dotnet core template thing as this is pretty useless if you cannot have additional nuget sources besides nuget.org and the myget umbraco source...!!
/ulrich
Hi I think once you have the template installed you can use the new project gui in visual studio. Have you tried that?
Hi Paul,
I didn't think of that... It worked.. :D
Thanks.. ;)
/ulrich
Hi Paul,
The joy was short... I have the same problem within Visual Studio.. As long as i have additional nuget sources, it fails.. :-(
This is a pattern i don't like...
/ulrich
Hi Ulrich Did you install the .NET 5 SDK and did you update you visual studio 2019 version?
Hi Paul,
Yes to both.. ;)
I tried to disable a couple of sources, and then it worked.. ;)
It seems that dotnet core is unhappy with the answer from BaGet nuget server, and my login for Telerik nuget server is no longer valid.. with these two out of the way, everything works fine... ;)
When building umbraco 8 solutions on .NET 4.8 I don't have theese issues..?!
/ulrich
is working on a reply...