Skip to content

Building VDPROJ (with workaround) doesn't seem to work with VS 2017 / TFS 2017 #1

@joeskeen

Description

@joeskeen

I cloned this repo and created a copy for VS2017 (that pointed to the correct paths for VS 2017):

SET Command_Prompt_Path="C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\Tools\VsDevCmd.bat"

I also adjusted the workaround and included it:

REG ADD HKCU\SOFTWARE\Microsoft\VisualStudio\15.0_Config\MSBuild /t REG_DWORD /v EnableOutOfProcBuild /d 0 /f

I see in the build log that it is using the correct paths and making the registry call, but I still get the error:

ERROR: An error occurred while validating.  HRESULT = '8000000A'

Any ideas why?

My best guess is that MS changed the registry key they check. When I explored in RegEdit (before trying this), I noticed that the key Computer\HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\15.0_Config didn't exist at all (where the previous versions had lots of stuff in them). I couldn't see any obvious alternative key to use, and even using the keys for the previous VS versions didn't help.

UPDATE: I tried as a workaround using the VS2015 version of the batch script. I am still getting the same error using VS2015 as well. :(

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions