UE 4.10 can't detect VS 2013

I installed UE 4.10 on my laptop for a university project , however , when I try to create a c++ project based it shows me a line written in red that it does not detect a c++ compiler and I should install vs 2015 , I have vs 2013 and I don’t really have a good internet speed that will make me download vs 2015 in a short time , so any solution for this ?? I tried the enviroment variables solution but it was pointing to the right directories

Hi KhaledSalem999,

Open a command prompt in the root of 4.10 and run the generateprojectfiles.bat as so.

Generateprojectfiles.bat -2013

This should generate 2013 project files and solutions. There must be some remnants of 2015 that exist on your machine for the project file generator to think it is a valid install.

I’d be interested to hear if VS2015 was ever installed on that machine. Maybe an expired trial perhaps?

/

If you want use VS 2013, you need download source code of the UE4 from GitHub and compile it in the VS 2013. Because precompiled version of the UE4 from Epic Launcher was compiled in VS 2015. Another way - just install free version of the VS 2015.

No , it was never installed in my machine , also I can’t really find that .bat file