Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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

First Sorry For my poor English.

GenerateProjectFiles.bat running by double-clicking does not compile UE4 sourse code (Please see screenshot_3.png)

There are some informations in my computer: OS: windows 10 x64

Visual Studio: Visual Studio 2017 (26430.16) Release (Please see screenshot_4.png)

Unreal Engine: 4.16.2 Release

VS150COMNTOOLS system variable: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\ (Please see screenshot_6.png)

What else to check ?

Product Version: UE 4.16
screenshot_3.png (16.1 kB)
screenshot_6.png (71.7 kB)
screenshot_4.png (89.6 kB)
more ▼

asked Jul 21 '17 at 07:47 PM in Installation & Setup

avatar image

1 1 2 4

avatar image wfaew Jul 23 '17 at 07:29 AM

After it is added to the variable Path "C:\Windows\System32\"
C:\Users\Paul.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Windows\System32\

Now when you start GenerateProjectFiles.bat, another error occurred:

Setting up Unreal Engine 4 project files...
C:\Program Files (x86)\Microsoft Visual studio\2017\Community\MSBuild\15.0\bin\Microsoft.Common.CurrentVersion.targets(1111,5): error MSB3644: reference assemblies for the platform ".NETFramework, Version = v4.5" were not found. To eliminate this error Batch, install the SDK or targeting package for this version of the platform, or change the target application platform to The version for which the SDK or the targeting package is installed. Note that the assembly will be resolved from the global cache collection (GAC) and used instead of referenced assemblies. Therefore, they may misuse the selected platform as a Target. [I:\UnrealEngine-release\Engine\Source\Programs\UnrealBuildTool\UnrealBuildTool.csproj]

GenerateProjectFiles ERROR: UnrealBuildTool failed to compile.

Press any key to continue . . .

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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


  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: Https://blogs.msdn.microsoft.com/astebner/2008/08/28/net-framework-cleanup-tool-users-guide/ Http://cid-27e6a35d1a492af7.skydrive.live.com/self.aspx/Blog_Tools/dotnetfx_cleanup_tool.zip

Restart windows

alt text


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)

alt text


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

alt text


Starting GenerateProjectFiles.bat

screenshot_01.jpg (966.7 kB)
screenshot_02.png (385.0 kB)
screenshot_03.jpg (635.7 kB)
more ▼

answered Jul 30 '17 at 08:01 AM

avatar image

1 1 2 4

avatar image wfaew Aug 16 '17 at 02:32 PM

But, in the end, the compilation in the visual studio itself did not work. Now installed UE4 version 4.16.3 on Linux, and everything works

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question