locked
Unable to build app with error MSB6001: Invalid command line switch for "cmd.exe". The path is not of a legal form.

    Question

  • I running an app that throws the minimal error of:

    error MSB6001: Invalid command line switch for "cmd.exe". The path is not of a legal form.

    and the code is at: http://sdrv.ms/1gxJzTG

    I am running the code using VS 2013 RC, On a Window 8.1 RTM machine (A Lenovo Twist), and note that the error also happens on a Windows 8, VS 2012 RTM configuration as well.  I do have the VS 2013 RC SDK loaded on the machine.  My VS configuration is shown below the MSBUild output:

    1>------ Build started: Project: FruitBrust, Configuration: Debug Win32 ------

    1>Build started 10/13/2013 11:48:06 AM.

    1>Building with tools version "12.0".

    1>Project file contains ToolsVersion="4.0". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="12.0". For more information, please see http://go.microsoft.com/fwlink/?LinkId=293424.

    1>Target "_CheckForInvalidConfigurationAndPlatform" in file "C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets" from project "C:\Users\Sam\Documents\Visual Studio 2012\Project\UCLA4\FruitBrust\FruitBrust\FruitBrust.vcxproj" (entry point):

    1>Task "Error" skipped, due to false condition; ( '$(_InvalidConfigurationError)' == 'true' ) was evaluated as ( '' == 'true' ).

    1>Task "Warning" skipped, due to false condition; ( '$(_InvalidConfigurationWarning)' == 'true' ) was evaluated as ( '' == 'true' ).

    1>Using "Message" task from assembly "Microsoft.Build.Tasks.v12.0, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".

    1>Task "Message"

    1>  Configuration=Debug

    1>Done executing task "Message".

    1>Task "Message"

    1>  Platform=Win32

    1>Done executing task "Message".

    1>Task "Error" skipped, due to false condition; ('$(OutDir)' != '' and !HasTrailingSlash('$(OutDir)')) was evaluated as ('C:\Users\Sam\Documents\Visual Studio 2012\Project\UCLA4\FruitBrust\Debug\FruitBrust\' != '' and !HasTrailingSlash('C:\Users\Sam\Documents\Visual Studio 2012\Project\UCLA4\FruitBrust\Debug\FruitBrust\')).

    1>Task "Error" skipped, due to false condition; ('$(BaseIntermediateOutputPath)' != '' and !HasTrailingSlash('$(BaseIntermediateOutputPath)')) was evaluated as ('obj\' != '' and !HasTrailingSlash('obj\')).

    1>Task "Error" skipped, due to false condition; ('$(IntermediateOutputPath)' != '' and !HasTrailingSlash('$(IntermediateOutputPath)')) was evaluated as ('Debug\' != '' and !HasTrailingSlash('Debug\')).

    1>Done building target "_CheckForInvalidConfigurationAndPlatform" in project "FruitBrust.vcxproj".

    1>Target "_PrepareForBuild" in file "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.BuildSteps.Targets" from project "C:\Users\Sam\Documents\Visual Studio 2012\Project\UCLA4\FruitBrust\FruitBrust\FruitBrust.vcxproj" (target "Build" depends on it):

    1>Task "CreateItem" skipped, due to false condition; ('%(CustomBuild.IncludeFileToTool)'!='') was evaluated as (''!='').

    1>Done building target "_PrepareForBuild" in project "FruitBrust.vcxproj".

    1>Target "_PrepareForReferenceResolution" in file "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppBuild.targets" from project "C:\Users\Sam\Documents\Visual Studio 2012\Project\UCLA4\FruitBrust\FruitBrust\FruitBrust.vcxproj" (target "ResolveReferences" depends on it):

    1>Task "Message" skipped, due to false condition; ('$(_REFERENCE_DEBUG)'=='true') was evaluated as (''=='true').

    1>Done building target "_PrepareForReferenceResolution" in project "FruitBrust.vcxproj".

    1>Target "ComputeCrtSDKReference" in file "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppBuild.targets" from project "C:\Users\Sam\Documents\Visual Studio 2012\Project\UCLA4\FruitBrust\FruitBrust\FruitBrust.vcxproj" (target "ResolveReferences" depends on it):

    1>Task "VCMessage" skipped, due to false condition; ('$(DesignTimeBuild)'!='true' and '$(UseCrtSDKReferenceStaticWarning)'=='true') was evaluated as (''!='true' and ''=='true').

    1>Done building target "ComputeCrtSDKReference" in project "FruitBrust.vcxproj".

    1>Target "BeforeResolveReferences" in file "C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets" from project "C:\Users\Sam\Documents\Visual Studio 2012\Project\UCLA4\FruitBrust\FruitBrust\FruitBrust.vcxproj" (target "ResolveReferences" depends on it):

    1>Done building target "BeforeResolveReferences" in project "FruitBrust.vcxproj".

    1>Target "AssignProjectConfiguration" in file "C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets" from project "C:\Users\Sam\Documents\Visual Studio 2012\Project\UCLA4\FruitBrust\FruitBrust\FruitBrust.vcxproj" (target "ResolveReferences" depends on it):

    1>Using "AssignProjectConfiguration" task from assembly "Microsoft.Build.Tasks.v12.0, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".

    1>Task "AssignProjectConfiguration"

    1>Done executing task "AssignProjectConfiguration".

    1>Done building target "AssignProjectConfiguration" in project "FruitBrust.vcxproj".

    1>Target "AssignProjectConfiguration" skipped. Previously built successfully.

    1>Target "_SplitProjectReferencesByFileExistence" in file "C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets" from project "C:\Users\Sam\Documents\Visual Studio 2012\Project\UCLA4\FruitBrust\FruitBrust\FruitBrust.vcxproj" (target "ResolveProjectReferences" depends on it):

    1>Task "ResolveNonMSBuildProjectOutput" skipped, due to false condition; ('$(BuildingInsideVisualStudio)'=='true' and '@(ProjectReferenceWithConfiguration)'!='') was evaluated as ('true'=='true' and ''!='').

    1>Done building target "_SplitProjectReferencesByFileExistence" in project "FruitBrust.vcxproj".

    1>Target "_RemoveNameMetadataFromProjectReferenceItems" skipped, due to false condition; ('@(ProjectReference)'!='') was evaluated as (''!='').

    1>Target "ResolveProjectReferences" in file "C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets" from project "C:\Users\Sam\Documents\Visual Studio 2012\Project\UCLA4\FruitBrust\FruitBrust\FruitBrust.vcxproj" (target "ResolveReferences" depends on it):

    1>Task "MSBuild" skipped, due to false condition; ('%(_MSBuildProjectReferenceExistent.BuildReference)' == 'true' and '@(ProjectReferenceWithConfiguration)' != '' and ('$(BuildingInsideVisualStudio)' == 'true' or '$(BuildProjectReferences)' != 'true') and '$(VisualStudioVersion)' != '10.0' and '@(_MSBuildProjectReferenceExistent)' != '') was evaluated as ('' == 'true' and '' != '' and ('true' == 'true' or 'true' != 'true') and '12.0' != '10.0' and '' != '').

    1>Task "MSBuild" skipped, due to false condition; ('%(_MSBuildProjectReferenceExistent.BuildReference)' == 'true' and '@(ProjectReferenceWithConfiguration)' != '' and ('$(BuildingInsideVisualStudio)' == 'true' or '$(BuildProjectReferences)' != 'true') and '$(VisualStudioVersion)' == '10.0' and '@(_MSBuildProjectReferenceExistent)' != '') was evaluated as ('' == 'true' and '' != '' and ('true' == 'true' or 'true' != 'true') and '12.0' == '10.0' and '' != '').

    1>Task "MSBuild" skipped, due to false condition; ('%(_MSBuildProjectReferenceExistent.BuildReference)' == 'true' and '@(ProjectReferenceWithConfiguration)' != '' and '$(BuildingInsideVisualStudio)' != 'true' and '$(BuildProjectReferences)' == 'true' and '@(_MSBuildProjectReferenceExistent)' != '') was evaluated as ('' == 'true' and '' != '' and 'true' != 'true' and 'true' == 'true' and '' != '').

    1>Task "MSBuild" skipped, due to false condition; ('%(_MSBuildProjectReferenceExistent.BuildReference)' == 'true' and '@(ProjectReferenceWithConfiguration)' != '' and '$(BuildingProject)' == 'true' and '@(_MSBuildProjectReferenceExistent)' != '') was evaluated as ('' == 'true' and '' != '' and 'true' == 'true' and '' != '').

    1>Task "Warning" skipped, due to false condition; ('@(ProjectReferenceWithConfiguration)' != '' and '@(_MSBuildProjectReferenceNonexistent)' != '') was evaluated as ('' != '' and '' != '').

    1>Done building target "ResolveProjectReferences" in project "FruitBrust.vcxproj".

    1>Target "AssignProjectConfiguration" skipped. Previously built successfully.

    1>Target "_SplitProjectReferencesByFileExistence" skipped. Previously built successfully.

    1>Target "GetReferenceTargetPlatformMonikers" in file "C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets" from project "C:\Users\Sam\Documents\Visual Studio 2012\Project\UCLA4\FruitBrust\FruitBrust\FruitBrust.vcxproj" (target "FindInvalidProjectReferences" depends on it):

    1>Using "MSBuild" task from assembly "Microsoft.Build.Tasks.v12.0, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".

    1>Task "MSBuild"

    1>Done executing task "MSBuild".

    1>Done building target "GetReferenceTargetPlatformMonikers" in project "FruitBrust.vcxproj".

    1>Target "FindInvalidProjectReferences" in file "C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets" from project "C:\Users\Sam\Documents\Visual Studio 2012\Project\UCLA4\FruitBrust\FruitBrust\FruitBrust.vcxproj" (target "ResolveReferences" depends on it):

    1>Using "FindInvalidProjectReferences" task from assembly "Microsoft.Build.Tasks.v12.0, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".

    1>Task "FindInvalidProjectReferences"

    1>Done executing task "FindInvalidProjectReferences".

    1>Done building target "FindInvalidProjectReferences" in project "FruitBrust.vcxproj".

    1>Target "ResolveNativeReferences" skipped, due to false condition; ('@(NativeReference)'!='') was evaluated as (''!='').

    1>Target "_PrepareForReferenceResolution" skipped. Previously built successfully.

    1>Target "GetFrameworkPaths" in file "C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets" from project "C:\Users\Sam\Documents\Visual Studio 2012\Project\UCLA4\FruitBrust\FruitBrust\FruitBrust.vcxproj" (target "ResolveAssemblyReferences" depends on it):

    1>Done building target "GetFrameworkPaths" in project "FruitBrust.vcxproj".

    1>Target "GetReferenceAssemblyPaths" in file "C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets" from project "C:\Users\Sam\Documents\Visual Studio 2012\Project\UCLA4\FruitBrust\FruitBrust\FruitBrust.vcxproj" (target "ResolveAssemblyReferences" depends on it):

    1>Task "GetReferenceAssemblyPaths" skipped, due to false condition; ('$(TargetFrameworkMoniker)' != '' and ('$(_TargetFrameworkDirectories)' == '' or '$(_FullFrameworkReferenceAssemblyPaths)' == '')) was evaluated as ('' != '' and ('' == '' or '' == '')).

    1>Done building target "GetReferenceAssemblyPaths" in project "FruitBrust.vcxproj".

    1>Target "SetBuildDefaultEnvironmentVariables" in file "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cpp.targets" from project "C:\Users\Sam\Documents\Visual Studio 2012\Project\UCLA4\FruitBrust\FruitBrust\FruitBrust.vcxproj" (target "PrepareForBuild" depends on it):

    1>Using "SetEnv" task from assembly "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Build.CppTasks.Common.dll".

    1>Task "SetEnv"

    1>  PATH=C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin;C:\Program Files (x86)\Windows Kits\8.0\bin\x86;;C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools;C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Tools\bin;C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\tools;C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\ide;C:\Program Files (x86)\HTML Help Workshop;C:\Program Files (x86)\MSBuild\12.0\bin\;C:\Program Files (x86)\Microsoft Visual Studio 11.0\;C:\WINDOWS\SysWow64;;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SDKs\TypeScript\;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;C:\Program Files (x86)\Windows Live\Shared;;C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\;

    1>Done executing task "SetEnv".

    1>Task "SetEnv"

    1>  LIB=C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\lib;C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\atlmfc\lib;C:\Program Files (x86)\Windows Kits\8.0\lib\win8\um\x86;;

    1>Done executing task "SetEnv".

    1>Task "SetEnv"

    1>  LIBPATH=C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\atlmfc\lib;C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\lib

    1>Done executing task "SetEnv".

    1>Task "SetEnv"

    1>  INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include;C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\atlmfc\include;C:\Program Files (x86)\Windows Kits\8.0\Include\um;C:\Program Files (x86)\Windows Kits\8.0\Include\shared;C:\Program Files (x86)\Windows Kits\8.0\Include\winrt;;

    1>Done executing task "SetEnv".

    1>Done building target "SetBuildDefaultEnvironmentVariables" in project "FruitBrust.vcxproj".

    1>Target "SetUserMacroEnvironmentVariables" skipped, due to false condition; ('@(BuildMacro)' != '') was evaluated as ('' != '').

    1>Target "GetResolvedWinMD" in file "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppBuild.targets" from project "C:\Users\Sam\Documents\Visual Studio 2012\Project\UCLA4\FruitBrust\FruitBrust\FruitBrust.vcxproj" (target "PrepareForBuild" depends on it):

    1>Done building target "GetResolvedWinMD" in project "FruitBrust.vcxproj".

    1>Target "PlatformPrepareForBuild" in file "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cpp.Platform.targets" from project "C:\Users\Sam\Documents\Visual Studio 2012\Project\UCLA4\FruitBrust\FruitBrust\FruitBrust.vcxproj" (target "PrepareForBuild" depends on it):

    1>Task "VCMessage" skipped, due to false condition; ('$(DesignTimeBuild)'!='true' and '$(ConfigurationPlatformExists)' != 'true') was evaluated as (''!='true' and 'true' != 'true').

    1>Task "VCMessage" skipped, due to false condition; ('$(DesignTimeBuild)'!='true' and '$(ToolsetTargetsFound)' != 'true' and '$(PlatformToolset)' == 'v110') was evaluated as (''!='true' and 'true' != 'true' and 'v110' == 'v110').

    1>Task "VCMessage" skipped, due to false condition; ('$(DesignTimeBuild)'!='true' and '$(ToolsetTargetsFound)' != 'true' and '$(PlatformToolset)' == 'v100') was evaluated as (''!='true' and 'true' != 'true' and 'v110' == 'v100').

    1>Task "VCMessage" skipped, due to false condition; ('$(DesignTimeBuild)'!='true' and '$(ToolsetTargetsFound)' != 'true' and '$(PlatformToolset)' == 'v90') was evaluated as (''!='true' and 'true' != 'true' and 'v110' == 'v90').

    1>Task "VCMessage" skipped, due to false condition; ('$(DesignTimeBuild)'!='true' and '$(ToolsetTargetsFound)' != 'true' and '$(PlatformToolset)' != 'v90' and '$(PlatformToolset)' != 'v100' and '$(PlatformToolset)' != 'v110') was evaluated as (''!='true' and 'true' != 'true' and 'v110' != 'v90' and 'v110' != 'v100' and 'v110' != 'v110').

    1>Done building target "PlatformPrepareForBuild" in project "FruitBrust.vcxproj".

    1>Target "PlatformPrepareForBuild" skipped. Previously built successfully.

    1>Target "GetFrameworkPaths" skipped. Previously built successfully.

    1>Target "GetReferenceAssemblyPaths" skipped. Previously built successfully.

    1>Target "SetCABuildNativeEnvironmentVariables" in file "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\CodeAnalysis\Microsoft.CodeAnalysis.targets" from project "C:\Users\Sam\Documents\Visual Studio 2012\Project\UCLA4\FruitBrust\FruitBrust\FruitBrust.vcxproj" (target "PrepareForBuild" depends on it):

    1>Initializing task factory "CodeTaskFactory" from assembly "C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Build.Tasks.v12.0.dll".

    1>Using "SetEnvironmentVariable" task from the task factory "Code Task Factory".

    1>Task "SetEnvironmentVariable"

    1>Done executing task "SetEnvironmentVariable".

    1>Done building target "SetCABuildNativeEnvironmentVariables" in project "FruitBrust.vcxproj".

    1>Target "PrepareForBuild" in file "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppBuild.targets" from project "C:\Users\Sam\Documents\Visual Studio 2012\Project\UCLA4\FruitBrust\FruitBrust\FruitBrust.vcxproj" (target "ResolveAssemblyReferences" depends on it):

    1>Task "VCMessage" skipped, due to false condition; ('$(DesignTimeBuild)'!='true' and '$(ConfigurationPlatformExists)' != 'true') was evaluated as (''!='true' and 'true' != 'true').

    1>Using "MakeDir" task from assembly "Microsoft.Build.Tasks.v12.0, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".

    1>Task "MakeDir"

    1>Done executing task "MakeDir".

    1>Task "VCMessage" skipped, due to false condition; ('$(DesignTimeBuild)'!='true' and '$(WindowsAppContainer)'=='true' and '$(ConfigurationType)'!='Application' and '$(ConfigurationType)'!='DynamicLibrary' and '$(ConfigurationType)'!='StaticLibrary') was evaluated as (''!='true' and 'true'=='true' and 'Application'!='Application' and 'Application'!='DynamicLibrary' and 'Application'!='StaticLibrary').

    1>Task "VCMessage" skipped, due to false condition; ('$(DesignTimeBuild)'!='true' and '$(VCInstallDir)'=='' and '$(UseEnv)' != 'true' and ($(TargetFrameworkVersion)=='v3.5' or $(TargetFrameworkVersion)=='v3.0' or $(TargetFrameworkVersion)=='v2.0' )) was evaluated as (''!='true' and 'C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\'=='' and '' != 'true' and (=='v3.5' or =='v3.0' or =='v2.0' )).

    1>Task "VCMessage" skipped, due to false condition; ('$(DesignTimeBuild)'!='true' and '$(VCInstallDir)'=='' and '$(UseEnv)' != 'true' and '$(PlatformToolset)'=='v90') was evaluated as (''!='true' and 'C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\'=='' and '' != 'true' and 'v110'=='v90').

    1>Task "VCMessage" skipped, due to false condition; ('$(VCInstallDir)'=='' and '$(UseEnv)' != 'true') was evaluated as ('C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\'=='' and '' != 'true').

    1>Task "VCMessage" skipped, due to false condition; ('$(WindowsSDKDir)'=='' and '$(UseEnv)' != 'true') was evaluated as ('C:\Program Files (x86)\Windows Kits\8.0\'=='' and '' != 'true').

    1>Task "VCMessage" skipped, due to false condition; ('$(IntDirTrailingSlashWarning)'=='true') was evaluated as (''=='true').

    1>Task "VCMessage" skipped, due to false condition; ('$(OutDirTrailingSlashWarning)'=='true') was evaluated as (''=='true').

    1>Task "VCMessage" skipped, due to false condition; ('%(CompatibilityIssues.Identity)' != '' and '$(DesignTimeBuild)'!='true') was evaluated as ('' != '' and ''!='true').

    1>Task "MakeDir"

    1>Done executing task "MakeDir".

    1>Done building target "PrepareForBuild" in project "FruitBrust.vcxproj".

    1>Target "_PrepareForReferenceResolution" skipped. Previously built successfully.

    1>Target "ComputeCrtSDKReference" skipped. Previously built successfully.

    1>Target "GetInstalledSDKLocations" in file "C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets" from project "C:\Users\Sam\Documents\Visual Studio 2012\Project\UCLA4\FruitBrust\FruitBrust\FruitBrust.vcxproj" (target "ResolveSDKReferences" depends on it):

    1>Using "GetInstalledSDKLocations" task from assembly "Microsoft.Build.Tasks.v12.0, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".

    1>Task "GetInstalledSDKLocations"

    1>  Searching for SDKs targeting "Windows, 8.0".

    1>  Found "5" SDKs.

    1>  Installed SDKs:

    1>      SDK "CppUnitTestFramework, Version=11.0" is installed at "C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0\ExtensionSDKs\CppUnitTestFramework\11.0\"

    1>      SDK "Microsoft.VCLibs, Version=11.0" is installed at "C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0\ExtensionSDKs\Microsoft.VCLibs\11.0\"

    1>      SDK "Microsoft.WinJS.1.0, Version=1.0" is installed at "C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0\ExtensionSDKs\Microsoft.WinJS.1.0\1.0\"

    1>      SDK "MSTestFramework, Version=11.0" is installed at "C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0\ExtensionSDKs\MSTestFramework\11.0\"

    1>      SDK "TestPlatform, Version=11.0" is installed at "C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0\ExtensionSDKs\TestPlatform\11.0\"

    1>Done executing task "GetInstalledSDKLocations".

    1>Done building target "GetInstalledSDKLocations" in project "FruitBrust.vcxproj".

    1>Target "ResolveSDKReferences" in file "C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets" from project "C:\Users\Sam\Documents\Visual Studio 2012\Project\UCLA4\FruitBrust\FruitBrust\FruitBrust.vcxproj" (target "ResolveAssemblyReferences" depends on it):

    1>Using "ResolveSDKReference" task from assembly "Microsoft.Build.Tasks.v12.0, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".

    1>Task "ResolveSDKReference"

    1>  Searching for SDK "Microsoft.VCLibs, Version=11.0":

    1>  Found at search location "C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0\ExtensionSDKs\Microsoft.VCLibs\11.0\".

    1>    Reading SDK manifest file "".

    1>    Targeted configuration and architecture "Debug|x86"

    1>    Could not find "FrameworkIdentity" attribute "FrameworkIdentity-Debug-x86" in the SDK manifest.

    1>    Found "FrameworkIdentity" attribute "Name = Microsoft.VCLibs.110.00.Debug, MinVersion = 11.0.51106.1" in the SDK manifest.

    1>    Found "APPX" location attribute "AppX-Debug-x86=.\AppX\Debug\x86\Microsoft.VCLibs.x86.Debug.11.00.appx" in the SDK manifest.

    1>    Found "APPX" location attribute "AppX-Debug-x64=.\AppX\Debug\x64\Microsoft.VCLibs.x64.Debug.11.00.appx" in the SDK manifest.

    1>    Found "APPX" location attribute "AppX-Debug-ARM=.\AppX\Debug\ARM\Microsoft.VCLibs.ARM.Debug.11.00.appx" in the SDK manifest.

    1>Done executing task "ResolveSDKReference".

    1>Done building target "ResolveSDKReferences" in project "FruitBrust.vcxproj".

    1>Target "ResolveSDKReferences" skipped. Previously built successfully.

    1>Target "ExpandSDKReferences" in file "C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets" from project "C:\Users\Sam\Documents\Visual Studio 2012\Project\UCLA4\FruitBrust\FruitBrust\FruitBrust.vcxproj" (target "ResolveAssemblyReferences" depends on it):

    1>Using "GetSDKReferenceFiles" task from assembly "Microsoft.Build.Tasks.v12.0, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".

    1>Task "GetSDKReferenceFiles"

    1>  Enumerating SDK Reference "Microsoft.VCLibs, Version=11.0" from "C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0\ExtensionSDKs\Microsoft.VCLibs\11.0\".

    1>  Looking for references under "References\CommonConfiguration\Neutral\".

    1>  Adding reference "References\CommonConfiguration\neutral\platform.winmd".

    1>Done executing task "GetSDKReferenceFiles".

    1>Done building target "ExpandSDKReferences" in project "FruitBrust.vcxproj".

    1>Target "FakesGenerateBeforeBuild" skipped, due to false condition; (@(Fakes) != '' AND $(BuildingProject)) was evaluated as ( != '' AND true).

    1>Target "ResolveAssemblyReferences" in file "C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets" from project "C:\Users\Sam\Documents\Visual Studio 2012\Project\UCLA4\FruitBrust\FruitBrust\FruitBrust.vcxproj" (target "ResolveReferences" depends on it):

    1>Using "ResolveAssemblyReference" task from assembly "Microsoft.Build.Tasks.v12.0, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".

    1>Task "ResolveAssemblyReference"

    1>  TargetFrameworkMoniker:

    1>     

    1>  TargetFrameworkMonikerDisplayName:

    1>     

    1>  TargetedRuntimeVersion:

    1>     

    1>  Assemblies:

    1>      C:\Program Files (x86)\Windows Kits\8.0\References\CommonConfiguration\Neutral\Windows.winmd

    1>  AssemblyFiles:

    1>  CandidateAssemblyFiles:

    1>  TargetFrameworkDirectories:

    1>      C:\Program Files (x86)\Windows Kits\8.0\References\CommonConfiguration\Neutral

    1>  InstalledAssemblyTables:

    1>  IgnoreInstalledAssemblyTable:

    1>      False

    1>  SearchPaths:

    1>      {CandidateAssemblyFiles}

    1>      C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\atlmfc\lib

    1>      C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\lib

    1>      {HintPathFromItem}

    1>      {TargetFrameworkDirectory}

    1>      {Registry:Software\Microsoft\,,AssemblyFoldersEx}

    1>      {GAC}

    1>      {RawFileName}

    1>      C:\Users\Sam\Documents\Visual Studio 2012\Project\UCLA4\FruitBrust\Debug\FruitBrust\

    1>  AllowedAssemblyExtensions:

    1>      .winmd

    1>      .dll

    1>      .exe

    1>  AllowedRelatedFileExtensions:

    1>      .pdb

    1>      .xml

    1>      .pri

    1>  AppConfigFile:

    1>     

    1>  AutoUnify:

    1>      False

    1>  CopyLocalDependenciesWhenParentReferenceInGac:

    1>      True

    1>  FindDependencies:

    1>      False

    1>  TargetProcessorArchitecture:

    1>      x86

    1>  StateFile:

    1>      Debug\FruitBrust.vcxprojResolveAssemblyReference.cache

    1>  InstalledAssemblySubsetTables:

    1>  IgnoreInstalledAssemblySubsetTable:

    1>      False

    1>  TargetFrameworkSubsets:

    1>  FullTargetFrameworkSubsetNames:

    1>      Full

    1>  ProfileName:

    1>     

    1>  FullFrameworkFolders:

    1>  LatestTargetFrameworkDirectories:

    1>  ProfileTablesLocation:

    1>  Primary reference "Windows, Version=255.255.255.255, Culture=neutral, PublicKeyToken=null, ContentType=WindowsRuntime".

    1>      Resolved file path is "C:\Program Files (x86)\Windows Kits\8.0\References\CommonConfiguration\Neutral\Windows.winmd".

    1>      Reference found at search path location "{RawFileName}".

    1>      This reference is not "CopyLocal" because it's in a Frameworks directory.

    1>      The ImageRuntimeVersion for this reference is "WindowsRuntime 1.2".

    1>      This reference is a WinMDFile.

    1>Done executing task "ResolveAssemblyReference".

    1>Done building target "ResolveAssemblyReferences" in project "FruitBrust.vcxproj".

    1>Target "GenerateBindingRedirects" skipped, due to false condition; ('$(AutoGenerateBindingRedirects)' == 'true' and '$(GenerateBindingRedirectsOutputType)' == 'true') was evaluated as ('' == 'true' and 'true' == 'true').

    1>Target "ResolveComReferences" skipped, due to false condition; ('@(COMReference)'!='' or '@(COMFileReference)'!='') was evaluated as (''!='' or ''!='').

    1>Target "AfterResolveReferences" in file "C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets" from project "C:\Users\Sam\Documents\Visual Studio 2012\Project\UCLA4\FruitBrust\FruitBrust\FruitBrust.vcxproj" (target "ResolveReferences" depends on it):

    1>Done building target "AfterResolveReferences" in project "FruitBrust.vcxproj".

    1>Target "ResolveTestReferences" skipped, due to false condition; ('@(Shadow)'!='') was evaluated as (''!='').

    1>Target "ImplicitlyExpandTargetFramework" skipped, due to false condition; ('$(ImplicitlyExpandTargetFramework)' == 'true') was evaluated as ('' == 'true').

    1>Target "ImplicitlyExpandTargetPlatform" in file "C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v12.0\8.0\Microsoft.Windows.UI.Xaml.Common.targets" from project "C:\Users\Sam\Documents\Visual Studio 2012\Project\UCLA4\FruitBrust\FruitBrust\FruitBrust.vcxproj" (target "ResolveReferences" depends on it):

    1>Task "Warning" skipped, due to false condition; (!Exists($(TargetPlatformWinMDLocation))) was evaluated as (!Exists(C:\Program Files (x86)\Windows Kits\8.0\References\CommonConfiguration\Neutral)).

    1>Task "Message" skipped, due to false condition; ('%(ReferencePath.ResolvedFrom)' == 'ImplicitlyExpandTargetPlatform') was evaluated as ('GetSDKReferenceFiles' == 'ImplicitlyExpandTargetPlatform').

    1>Task "Message" skipped, due to false condition; ('%(ReferencePath.ResolvedFrom)' == 'ImplicitlyExpandTargetPlatform') was evaluated as ('{RawFileName}' == 'ImplicitlyExpandTargetPlatform').

    1>Task "Message"

    1>  Including C:\Program Files (x86)\Windows Kits\8.0\References\CommonConfiguration\Neutral\Windows.winmd

    1>Done executing task "Message".

    1>Done building target "ImplicitlyExpandTargetPlatform" in project "FruitBrust.vcxproj".

    1>Target "ResolveReferences" in file "C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets" from project "C:\Users\Sam\Documents\Visual Studio 2012\Project\UCLA4\FruitBrust\FruitBrust\FruitBrust.vcxproj" (target "Build" depends on it):

    1>Done building target "ResolveReferences" in project "FruitBrust.vcxproj".

    1>Target "PrepareForBuild" skipped. Previously built successfully.

    1>Target "PrepareForBuild" skipped. Previously built successfully.

    1>Target "InitializeBuildStatus" in file "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppBuild.targets" from project "C:\Users\Sam\Documents\Visual Studio 2012\Project\UCLA4\FruitBrust\FruitBrust\FruitBrust.vcxproj" (target "Build" depends on it):

    1>Using "ReadLinesFromFile" task from assembly "Microsoft.Build.Tasks.v12.0, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".

    1>Task "ReadLinesFromFile"

    1>Done executing task "ReadLinesFromFile".

    1>Using "WriteLinesToFile" task from assembly "Microsoft.Build.Tasks.v12.0, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".

    1>Task "WriteLinesToFile"

    1>Done executing task "WriteLinesToFile".

    1>Using "Touch" task from assembly "Microsoft.Build.Tasks.v12.0, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".

    1>Task "Touch"

    1>  Touching "Debug\FruitBrust.unsuccessfulbuild".

    1>Done executing task "Touch".

    1>Done building target "InitializeBuildStatus" in project "FruitBrust.vcxproj".

    1>Target "AssignProjectConfiguration" skipped. Previously built successfully.

    1>Target "_SplitProjectReferencesByFileExistence" skipped. Previously built successfully.

    1>Target "BuildGenerateSourcesTraverse" in file "C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets" from project "C:\Users\Sam\Documents\Visual Studio 2012\Project\UCLA4\FruitBrust\FruitBrust\FruitBrust.vcxproj" (target "BuildGenerateSources" depends on it):

    1>Task "MSBuild" skipped, due to false condition; ('$(BuildPassReferences)' == 'true' and '@(ProjectReferenceWithConfiguration)' != '' and '@(_MSBuildProjectReferenceExistent)' != '' and '%(_MSBuildProjectReferenceExistent.BuildReference)' == 'true') was evaluated as ('' == 'true' and '' != '' and '' != '' and '' == 'true').

    1>Done building target "BuildGenerateSourcesTraverse" in project "FruitBrust.vcxproj".

    1>Target "PrepareForBuild" skipped. Previously built successfully.

    1>Target "ResolveReferences" skipped. Previously built successfully.

    1>Target "BeforeBuildGenerateSources" in file "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.BuildSteps.Targets" from project "C:\Users\Sam\Documents\Visual Studio 2012\Project\UCLA4\FruitBrust\FruitBrust\FruitBrust.vcxproj" (target "_BuildGenerateSourcesAction" depends on it):

    1>Done building target "BeforeBuildGenerateSources" in project "FruitBrust.vcxproj".

    1>Target "PreBuildEvent" in file "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets" from project "C:\Users\Sam\Documents\Visual Studio 2012\Project\UCLA4\FruitBrust\FruitBrust\FruitBrust.vcxproj" (target "_BuildGenerateSourcesAction" depends on it):

    1>Task "Message" skipped, due to false condition; ('%(PreBuildEvent.Message)' != '' and '%(PreBuildEvent.Command)' != '') was evaluated as ('' != '' and '' != '').

    1>Task "Exec" skipped, due to false condition; ('%(PreBuildEvent.Command)' != '') was evaluated as ('' != '').

    1>Done building target "PreBuildEvent" in project "FruitBrust.vcxproj".

    1>Target "PrepareForBuild" skipped. Previously built successfully.

    1>Target "SetBuildDefaultEnvironmentVariables" skipped. Previously built successfully.

    1>Target "SetUserMacroEnvironmentVariables" skipped, due to false condition; ('@(BuildMacro)' != '') was evaluated as ('' != '').

    1>Target "_SelectedFiles" in file "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppBuild.targets" from project "C:\Users\Sam\Documents\Visual Studio 2012\Project\UCLA4\FruitBrust\FruitBrust\FruitBrust.vcxproj" (target "SelectCustomBuild" depends on it):

    1>Done building target "_SelectedFiles" in project "FruitBrust.vcxproj".

    1>Target "SelectCustomBuild" in file "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppBuild.targets" from project "C:\Users\Sam\Documents\Visual Studio 2012\Project\UCLA4\FruitBrust\FruitBrust\FruitBrust.vcxproj" (target "CustomBuild" depends on it):

    1>Done building target "SelectCustomBuild" in project "FruitBrust.vcxproj".

    1>Target "ComputeCustomBuildOutput" in file "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppBuild.targets" from project "C:\Users\Sam\Documents\Visual Studio 2012\Project\UCLA4\FruitBrust\FruitBrust\FruitBrust.vcxproj" (target "CustomBuild" depends on it):

    1>Task "CreateItem" skipped, due to false condition; ('%(CustomBuildDirsToMake.OutputFileToTool)'!='') was evaluated as (''!='').

    1>Task "CreateItem" skipped, due to false condition; ('%(CustomBuildDirsToMake.OutputFileToTool)'!='') was evaluated as (''!='').

    1>Task "MakeDir"

    1>Done executing task "MakeDir".

    1>Done building target "ComputeCustomBuildOutput" in project "FruitBrust.vcxproj".

    1>Target "CustomBuild" in file "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets" from project "C:\Users\Sam\Documents\Visual Studio 2012\Project\UCLA4\FruitBrust\FruitBrust\FruitBrust.vcxproj" (target "_BuildGenerateSourcesAction" depends on it):

    1>Using "CustomBuild" task from assembly "Microsoft.Build.CppTasks.Common.v110, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".

    1>Task "CustomBuild"

    1>  Forcing rebuild of all source files due to missing command TLog "C:\Users\Sam\Documents\Visual Studio 2012\Project\UCLA4\FruitBrust\FruitBrust\Debug\custombuild.command.1.tlog".

    1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(172,5): error MSB6001: Invalid command line switch for "cmd.exe". The path is not of a legal form.

    1>Done executing task "CustomBuild" -- FAILED.

    1>Done building target "CustomBuild" in project "FruitBrust.vcxproj" -- FAILED.

    1>

    1>Build FAILED.

    1>

    1>Time Elapsed 00:00:00.18

    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

    ***********VS 2013 version information***************************

    Microsoft Visual Studio Ultimate 2013 RC
    Version 12.0.20827.3 DP
    Microsoft .NET Framework
    Version 4.5.51641

    Installed Version: Ultimate

    Architecture and Modeling Tools   06078-004-0341006-02402
    Microsoft Architecture and Modeling Tools
       
    UML® and Unified Modeling Language™ are trademarks or registered trademarks of the Object Management Group, Inc. in the United States and other countries.

    LightSwitch for Visual Studio 2013 RC   06078-004-0341006-02402
    Microsoft LightSwitch for Visual Studio 2013 RC

    Microsoft Office Developer Tools for Visual Studio 2013 RC ENU   06078-004-0341006-02402
    Microsoft Office Developer Tools for Visual Studio 2013 RC ENU

    Team Explorer for Visual Studio 2013 RC   06078-004-0341006-02402
    Microsoft Team Explorer for Visual Studio 2013 RC

    Visual Basic 2013 RC   06078-004-0341006-02402
    Microsoft Visual Basic 2013 RC

    Visual C# 2013 RC   06078-004-0341006-02402
    Microsoft Visual C# 2013 RC

    Visual C++ 2013 RC   06078-004-0341006-02402
    Microsoft Visual C++ 2013 RC

    Visual F# 2013 RC   06078-004-0341006-02402
    Microsoft Visual F# 2013 RC

    Visual Studio 2013 RC Code Analysis Spell Checker   06078-004-0341006-02402
    Microsoft® Visual Studio® 2013 RC Code Analysis Spell Checker

    Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.

    The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.

    Windows Phone SDK 8.0 - ENU   06078-004-0341006-02402
    Windows Phone SDK 8.0 - ENU

    ASP.NET Web Frameworks and Tools 2012.2   4.1.20809.0
    For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563

    ASP.NET Web Frameworks and Tools 2013 RC   5.0.10809.0
    For additional information, visit http://www.asp.net/

    Common Azure Tools   1.0
    Provides common services for use by Azure Mobile Services and Windows Azure Tools.

    Microsoft Advertising SDK for Windows Phone  
    Microsoft Advertising SDK for Windows Phone
    Build

    Multilingual App Toolkit   2.1.1100.0
    Multilingual App Toolkit helps you localize your Windows Store app by providing file management, pseudo and machine translation, translation editor, and build integration. http://go.microsoft.com/fwlink?linkid=245767

    NuGet Package Manager   2.7.40808.226
    NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

    PreEmptive Analytics Visualizer   1.2
    Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

    SQL Server Data Tools   12.0.30805.0
    Microsoft SQL Server Data Tools

    Web Developer Tools   2.0.40821.0
    Microsoft Web Developer Tools contains the following components:
    Support for creating and opening ASP.NET web projects
    Browser Link: A communication channel between Visual Studio and browsers
    Editor extensions for HTML, CSS, and JavaScript
    Page Inspector: Inspection tool for ASP.NET web projects
    Scaffolding: A framework for building and running code generators
    Server Explorer extensions for Windows Azure Web Sites
    Web publishing: Extensions for publishing ASP.NET web projects to hosting providers, on-premises servers, or Windows Azure

    Windows Azure Mobile Services Tools   1.0
    Windows Azure Mobile Services Tools

    Workflow Manager Tools 1.0   1.0
    This package contains the necessary Visual Studio integration components for Workflow Manager.


    Sam Stokes


    Sunday, October 13, 2013 6:52 PM

Answers

  • You'll want to use our internal aliases for questions.  Please ping me directly if you need.

    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    Monday, October 14, 2013 2:06 PM
    Moderator