GenerateProjectFiles ERROR: We couldn't find a valid installation of Visual Studio

(Error MSB3644: reference assemblies for the platform “.NETFramework, Version = v4.5” were not found)

Solution:

  1. Clean up the System from the “.NET Framework All Versions” using cleanup_tool (see screenshot_01)

Download place dotnetfx_cleanup_tool
Internet. Base tools. Net cleaning is available for download at the following locations:

Http://cid-27e6a35d1a492af7.skydrive.live.com/self.aspx/Blog_Tools/dotnetfx_cleanup_tool.zip

Restart windows


screenshot_01


2/. Reinstalling NET. Framework:
Run the installer vs_community_2017.exe, then click “change” to uncheck c NET.
After that, again “change” and tick off against NET. (see screenshot_02)


screenshot_02


3/. In GenerateProjectFiles.bat in line number 4 add " -2017" without the quotes (see screenshot_03)


screenshot_03


Starting GenerateProjectFiles.bat