You don’t have this option?
Sound like you should uninstall and reinstall Visual Studio 2017 following these setup instructions:
Something has gone “off the beaten path”
No it is not there. The left side is like your screenshot, but the right sidebar does not have 4.6.2. It only has 4.7 and higher
I was afraid you would say that.
Thank you for the link and for sticking with me.
Ok I finally figured out how to download the 2017 version. I had to click the Older Versions button to get anything but 2019. But then it kicks me out to a No Downloads Available page unless I join some special Dev Essentials programme. So I clicked that button which I guess meams I joined because now it lets me download it but when I run it, then I still dont have the .NET Frameworl 4.6.2 I only have 4.6.1 and 4.6 a d 4.7 on up just like before. Even though before that I uninstalled everything in co tell panel that had the words Visual Studio in its name.
So I guess 4.6.2 just isnt possible to get anymore. So maybe I have to download an older version of UnrealEngine which doesnt need it, instead of 4.22
But how can I know which .NET version it wants before I download it and what if they all want 4.6.2? I dont want to go too old on UnrealEngine as I want certilain features and dont know if they are supported in very old versions.
Or maybe I dint really get vs community 2017. Mayne the download link is wrong - it gave me tge same file as another link that does not go to vs 2017
I would continue, following the steps here:
Also, post a screen capture of where you are looking a don’t find .NET 4.6.2
Okay I continued, installing only the components it says to in the link you gave me - installed Game Development with C++ workload and Unreal Installer individual component.
Then I ran Setup.bat again as administrator and GemerateProjectFiles as administrator, and received the same error saying I need .NET Framework 4.6.2
So I again ran the downloaded exe to install .NET framework 4.6.2 but it again errors that I already have 4.6.2 installed.
Maybe uninstalling eveything related to Visual Studio in the control panel wasn’t enough, but I am not sure where else I should go or if it would be bad to just manually delete all visual studio files I can find on my hard drive. Or try to regedit. I dont know what I am doing if I mess with the registry.
I am not at my computer right now to show you the screenshot, but it looks very similar to the previous ones. I will try to get it to you later today.
Here are the steps I’ve taken today:
- Open Visual Studio Installer
- Click “Modify”, and then Add the “.NET desktop development” workload
Notice how everything that mentions .NET Framework goes from 4.0 - 4.6.1 then from 4.7 - 4.7.2 but never 4.6.2
- Go to “Individual” components tab and Add Unreal Installer and Unreal support for Android (since I’m probably going to need those - they say “Unreal” on them.
(continued in next comment)
- Try to add 4.6.2 but notice it’s still not in the Individual components list.
Also added Windows 8.1 SDK because I have Windows 8.1
After all that, I run Setup.bat as admin again, then GenerateProjectFiles as admin again, and this time I got a different error! YAY PROGRESS!
I think I can figure this one out, as NuGet is one of the individual components I saw in the VS Installer, that I can just add on.
FYI: I checked my registry (running Windows 10) and my .NET version is 4.7.2.
I installed that NuGet Package Manager and ran Setup.bat again, then when I ran GenerateProjectFiles again, I got our friend, the 4.6.2 error again Maybe no progress after all.
I went to the Reference Assemblies folder for .NET Framework and saw lots of stuff there, but not 4.6.2 – however there IS a 4.x
So I copied 4.x to the same folder and renamed it 4.6.2 – GenerateProjectFiles still can’t find it. so I deleted it.
So I tried the exe to install 4.6.2 I downloaded from MS website, and got this same error as before:
Well, this isn’t good. This means Windows will not let me actually fix the problem by reverting to an earlier version than 4.7x
However, If I actually go to the Add/Remove Programs in Control Panel, it only shows up to 4.5x having been installed:
So I tried to find it in Windows Features, but that only goes up to 4.5x as well:
So I tried looking in Installed Updates. Not there either (everything below the screenshotted part of the windows is security and system updates for the OS):
Maybe I should report this as a bug in the newest UE4 source release branch…
I looked in the Registry Editor like the Troubleshooting page says, and determined my release code matches version 4.8 of .NET Framework:
Indeed further down the regedit window it says which version I have is 4.8
So if I have 4.8 and the newest version of Unreal 4 (which is 4.22.3) demands 4.6.2 - then what can I do other than to wait for Epic to catch up to Microsoft so I can build the engine?
I just submitted a Bug Report to Epic. If the engine cannot be built unless someone has .NET Framework 4.6.2, and Windows will not allow 4.6.2 to be installed if you have ever installed a newer version, then Unreal Engine cannot be built. It seems like a bug if I have to re-install Windows to be able to build the engine from source.
Maybe I can do without bloom on splitscreen… I just don’t want to.
Hmm so if you were to clone 4.22.3 source then if it has a bug it should give you the same error when you GenerateProjectFiles. But if it doesn’t then it must not be a bug and I must need to reinstall Windows or something similarly drastic.
I regularly recompile the source (including 24 hrs ago without issue) though I’m running the “Master” branch which is more current than 4.22.3.