x

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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

I have two version of VS - 2015, 2017, how can I build/generate vs solution from uproject?

I have both VS versions installed on my PC. I can generate UE4 2017 solution by simply using the command prompt like this "GenerateProjectFiles.bat - 2017". I can successfully build UE4.sln using 2017 now. However when I try to create a C++ project using this engine or I try to do right click and generate VS files, my solution projects looks like this : alt text

What happens now is if I try to build, it is going to rebuild the engine with 2015 that is not what I want. How can I make the VS2017 as the default MS build environment without uninstalling VS2015 ?

I know it must be default MS build path issue, but some help and pointers in direction would be helpful.

Product Version: UE 4.17
Tags:
vsproblem1.png (8.8 kB)
more ▼

asked Sep 13 '17 at 04:50 PM in C++ Programming

avatar image

Infiltrator_
13 3 10 12

avatar image LNaej May 14 '18 at 02:34 PM

Same problem here, very interested to know how to solve it :)

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

1 answer: sort voted first

I looked at what it was doing when I run .uproject file.

So instead of this Running D:/GitHub/UnrealEngine/Engine/Binaries/DotNET/UnrealBuildTool.exe -projectfiles -project="F:/UE4-OffsetTurretRotation/TurretRotation.uproject" -game -engine -progress Discovering modules, targets and source code for project...

I changed it to this: D:/GitHub/UnrealEngine/Engine/Binaries/DotNET/UnrealBuildTool.exe -2017 -projectfiles -project="F:/UE4-OffsetTurretRotation/TurretRotation.uproject" -game -engine -progress

I did this on VS 2017 command prompt manually, I still don't know to get it done automatically.

more ▼

answered Sep 14 '17 at 03:14 AM

avatar image

Infiltrator_
13 3 10 12

(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