I'm getting an error when running the batch file to generate project files for VS2013

When I run the “GenerateProjectFiles.bat” batch file I’m getting an error. “The system cannot find the path specified”.

Originally I was getting an issue with msbuild not being recognised, so I added it to my environment variables and that fixed that issue. However I’ve looked into the batch file and cannot find a goto which output this particular error, so I’m a bit stuck.

EDIT: Running it as administrator gives me the same error but it actually runs the unrealbuildtool.exe through to completion but it doesn’t actually generate anything.

Hi Ben,

Have you watched the Downloading and Building UE4 Source video tutorial yet? Please let us know if you have, and you are still experiencing issues.

Thanks

Hi Stephen, not quite sure why this is marked as the correct answer (I didn’t do it). I followed the video but couldn’t get it working. In the end it came down to two factors; the first being a driver issue on my PC causing unkillable processes due to an issue with IO operations, the second being that my version of Visual Studio 2013 was not the desktop version but another express edition. I reinstalled windows, downloaded the correct version of VS2013 and it worked.

A couple of things I had to do to get this working (which may help others):

If msbuild is not in your windows environment variables path then you need to add it. A quick google will instruct you on how to do this if you are getting an msbuild error when running the batch file.

Make sure you are using Visual Studio 2013 Desktop http://www.microsoft.com/en-gb/download/details.aspx?id=40787 Or one of the paid version and not any of the other express editions.

If you have VS 2013 installed and still have this error try to repair installation of VS 2013 via Control Panel->Programs and features, its help me resolve that problem