Installing older Umbraco versions via Visual Studi...
# help-with-umbraco
m
Since there is a bug in anything after 12.2.0 that prevents me from running Umbraco in my hosting platform and it currently does not look like it is being worked on to be fix how do I get the 12.2.0 version to do a fresh install? In VS when I do new project I only have the option for 12.3.3
Just a thought, could I jsut install teh 12.3.3 template then use NuGet to downgrade to 12.2.0?
a
You can install an older version of the template:
Copy code
# Ensure we have the version specific Umbraco templates
dotnet new -i Umbraco.Templates::12.2.0 --force

# Create solution/project
dotnet new sln --name "MySolution"
dotnet new umbraco --force -n "MyProject"
dotnet sln add "MyProject"

dotnet run --project "MyProject"
#Running
I can really recommend Paul Seal's Package Script Writer for helping with this: https://psw.codeshare.co.uk/?TemplateName=Umbraco.Templates&TemplateVersion=12.2.0ProjectName=MyProject&CreateSolutionFile=true&SolutionName=MySolution&UseUnattendedInstall=false&IncludeStarterKit=false&StarterKitPackage=clean&OnelinerOutput=false
j
What's the bug that prevents you installing v12.3+? Is there an issue on the issue tracker that you can point us to? https://github.com/umbraco/Umbraco-CMS/issues
h
Was wondering the same, I have 12.3.1 running on both IIS and on a raspberry pi without any problems
m
I don't know much about the command line but I will try your code thanks. As for the issue it is tracked at https://github.com/umbraco/Umbraco-CMS/issues/15090 and 2 weeks ago it was marked as trying to get into a sprint but with 13 being released soon I don't expect it to be looked till after then. The issue seems to be an edge case that only a few of us are getting.
3 Views