Can not find MSBuild when using GenerateProjectFiles

msbuild-is-not-recognized on UnrealAnswers

So I’ve tried re-installing VS 2013 for desktop. I’ve re-downloaded the source/disabled virus scans/ran as administrator. But still when I run the batch file. Does anyone know the script that calls this command so i can verify the path its using?

Shoiko gravatar image Shoiko 2 hours ago
I removed 2008 but I still have VS 2003 for some tools i created years back that Can’t easily update to the lastest VS. In this batch output i see that its linking to the VS 2003… OI Would I be able to remove that, make the solution and then reinstall 2003 and everything be good with the UE4 Engine on a compilation level?

▼reply
Shoiko gravatar image Shoiko 2 hours ago
VS120COMNTOOLS=F:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\

****** 32-bit toolchain: ******

Volume in drive F is Gateway
Volume Serial Number is 683B-110F

Directory of F:\Users\kevin.mitchell\Desktop

03/16/2015 12:48 PM <DIR> .
03/16/2015 12:48 PM <DIR> …
03/16/2015 12:43 PM 811 34402-get_vs_environment.bat
03/16/2015 12:48 PM <DIR> Cleanmeup
03/16/2015 12:48 PM 123 info.txt
2 File(s) 934 bytes
3 Dir(s) 799,059,070,976 bytes free

PATH=C:\Windows\SYSTEM32;C:\Windows;C:\Windows\SYSTEM32\WBEM;C:\Windows\SYSTEM32\WINDOWSPOWERSHELL\V1.0;C:\PROGRAM FILES (X86)\ATI TECHNOLOGIES\ATI.ACE\CORE-STATIC;C:\PROGRAM FILES (X86)\MICROSOFT SQL SERVER\100\TOOLS\BINN\VSSHELL\COMMON7\IDE;C:\PROGRAM FILES (X86)\MICROSOFT SQL SERVER\100\TOOLS\BINN;C:\PROGRAM FILES\MICROSOFT SQL SERVER\100\TOOLS\BINN;C:\PROGRAM FILES (X86)\MICROSOFT SQL SERVER\100\DTS\BINN;F:\PROGRAM FILES\AMD\CODEANALYST\BIN;C:\PROGRAM FILES (X86)\AMD\CODEANALYST\BIN;F:\PROGRAM FILES (X86)\CVSNT;C:\PROGRAM FILES\COMMON FILES\AUTODESK SHARED;;C:\Program Files\Microsoft SQL Server\110\Tools\Binn;C:\Program Files (x86)\Microsoft SQL Server\80\Tools\Binn;F:\Program Files (x86)\QuickTime\QTSystem;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0;C:\Program Files\Microsoft SQL Server\120\Tools\Binn;C:\Program Files (x86)\CVSNT;C:\cygwin64\bin;C:\Tools

INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio .NET 2003\SDK\v1.1\include\

LIB=C:\Program Files (x86)\Microsoft Visual Studio .NET 2003\SDK\v1.1\Lib\
▼reply
Shoiko gravatar image Shoiko 2 hours ago
****** x86-amd64 toolchain: ******

Volume in drive F is Gateway
Volume Serial Number is 683B-110F

Directory of F:\Users\kevin.mitchell\Desktop

03/16/2015 12:48 PM <DIR> .
03/16/2015 12:48 PM <DIR> …
03/16/2015 12:43 PM 811 34402-get_vs_environment.bat
03/16/2015 12:48 PM <DIR> Cleanmeup
03/16/2015 12:48 PM 1,704 info.txt
2 File(s) 2,515 bytes
3 Dir(s) 799,059,066,880 bytes free

PATH=C:\Windows\SYSTEM32;C:\Windows;C:\Windows\SYSTEM32\WBEM;C:\Windows\SYSTEM32\WINDOWSPOWERSHELL\V1.0;C:\PROGRAM FILES (X86)\ATI TECHNOLOGIES\ATI.ACE\CORE-STATIC;C:\PROGRAM FILES (X86)\MICROSOFT SQL SERVER\100\TOOLS\BINN\VSSHELL\COMMON7\IDE;C:\PROGRAM FILES (X86)\MICROSOFT SQL SERVER\100\TOOLS\BINN;C:\PROGRAM FILES\MICROSOFT SQL SERVER\100\TOOLS\BINN;C:\PROGRAM FILES (X86)\MICROSOFT SQL SERVER\100\DTS\BINN;F:\PROGRAM FILES\AMD\CODEANALYST\BIN;C:\PROGRAM FILES (X86)\AMD\CODEANALYST\BIN;F:\PROGRAM FILES (X86)\CVSNT;C:\PROGRAM FILES\COMMON FILES\AUTODESK SHARED;;C:\Program Files\Microsoft SQL Server\110\Tools\Binn;C:\Program Files (x86)\Microsoft SQL Server\80\Tools\Binn;F:\Program Files (x86)\QuickTime\QTSystem;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0;C:\Program Files\Microsoft SQL Server\120\Tools\Binn;C:\Program Files (x86)\CVSNT;C:\cygwin64\bin;C:\Tools

INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio .NET 2003\SDK\v1.1\include\

LIB=C:\Program Files (x86)\Microsoft Visual Studio .NET 2003\SDK\v1.1\Lib\

▼reply
Doug Wilson gravatar image Doug Wilson :diamonds::diamonds: STAFF 1 hour ago
I can’t say for certain however it would be worth trying to remove 2003 and then compiling the engine. Also the .bat file returned a desktop directory which seems odd. If VS is installed on your desktop I would try re-installing it to the default location.

reply
Shoiko gravatar image Shoiko 1 hour ago
My OS the CDrive but because its a small SSD I have moced my desktop locations to my F drive that’s why it appears that way.

Uninstalled 2003 :

VS120COMNTOOLS=F:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\

****** 32-bit toolchain: ******

Volume in drive F is Gateway
Volume Serial Number is 683B-110F

Directory of F:\Users\kevin.mitchell\Desktop

03/16/2015 12:48 PM <DIR> .
03/16/2015 12:48 PM <DIR> …
03/16/2015 12:43 PM 811 34402-get_vs_environment.bat
03/16/2015 12:48 PM <DIR> Cleanmeup
03/16/2015 01:44 PM 123 info.txt
2 File(s) 934 bytes
3 Dir(s) 799,336,017,920 bytes free

PATH=C:\Windows\SYSTEM32;C:\Windows;C:\Windows\SYSTEM32\WBEM;C:\Windows\SYSTEM32\WINDOWSPOWERSHELL\V1.0;C:\PROGRAM FILES (X86)\ATI TECHNOLOGIES\ATI.ACE\CORE-STATIC;C:\PROGRAM FILES (X86)\MICROSOFT SQL SERVER\100\TOOLS\BINN\VSSHELL\COMMON7\IDE;C:\PROGRAM FILES (X86)\MICROSOFT SQL SERVER\100\TOOLS\BINN;C:\PROGRAM FILES\MICROSOFT SQL SERVER\100\TOOLS\BINN;C:\PROGRAM FILES (X86)\MICROSOFT SQL SERVER\100\DTS\BINN;F:\PROGRAM FILES\AMD\CODEANALYST\BIN;C:\PROGRAM FILES (X86)\AMD\CODEANALYST\BIN;F:\PROGRAM FILES (X86)\CVSNT;C:\PROGRAM FILES\COMMON FILES\AUTODESK SHARED;;C:\Program Files\Microsoft SQL Server\110\Tools\Binn;C:\Program Files (x86)\Microsoft SQL Server\80\Tools\Binn;F:\Program Files (x86)\QuickTime\QTSystem;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0;C:\Program Files\Microsoft SQL Server\120\Tools\Binn;C:\Program Files (x86)\CVSNT;C:\cygwin64\bin;C:\Tools

INCLUDE=

LIB=

▼reply
Shoiko gravatar image Shoiko 40 minutes ago
Okay I updated the enviorment vars to point to the correct path for vs: link text

info.txt (6.7 kB)
▼reply
Shoiko gravatar image Shoiko 36 minutes ago
Also this is where every instance of msbuild is on my pc there is not one in the tools directory any more according to some other post i have found:

alt text

untitled.jpg (568.8 kB)
▼reply
Shoiko gravatar image Shoiko 34 minutes ago
http://blogs.msdn.com/b/visualstudio/archive/2013/07/24/msbuild-is-now-part-of-visual-studio.aspx

▼reply
Shoiko 42 secs ago
Also if i load CMD i can type msbuild in the command line and it works. So there has to be something hard coded some where that I can not find…

Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\kevin.mitchell>msbuild Microsoft (R) Build Engine version 12.0.31101.0 [Microsoft .NET Framework, version 4.0.30319.18408] Copyright (C) Microsoft Corporation. All rights reserved.

MSBUILD : error MSB1003: Specify a project or solution file. The current worki

C:\Users\kevin.mitchell>