-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building VDPROJ (with workaround) doesn't seem to work with VS 2017 / TFS 2017 #1
Comments
Sorry, I can't interrupt my other current activities and take a deep into digging here. This will harm to other people, for now. |
For people still looking; it seems that Microsoft has recognized this problem and added a solution: Hope this helps and good luck. |
Hi guys, I have the same problems. I know Microsoft has provided a tool to fix this issue. But how to use it in the build process in VSTS? I placed this file:
How to run it in VSTS build process? |
Hmm, I'm researching how to help you. It looks simple. |
I'll try to decomplile DisableOutOfProcBuild.exe |
And one note. Microsoft Visual Studio 2017 Installer Projects doesn't compile at all, if any project from SSDT (SQL Server Data Tools) is used in your solution. VS Installer Project has really poor reputation. It is like a cow without an owner. I replaced the 2017 Installer Project completely by WiX Toolset. It was tough but I did. |
@yanxiaodi , it was your wrong to copy DisableOutOfProcBuild.exe file to your solution.
i.e. you'll do Firs, in CMD, you must to set the current directory "CD" to the location of DisableOutOfProcBuild.exe.
Second, you do @joeskeen Or, I'll try to create a version of my "DevEnv-Vdproj-HRESULT-8000000A-EnableOutOfProcBuild.bat for VS 2017.bat" By the way I'll fix a typo in my "wokraround" folder. |
So, here solution is my (copy-past and go). I'll close the issue after a while if there's no more questions. |
Thanks for this thread; it was helpful. I ran into the same error again when trying to build a VS2017 project under GitLab CI using a Win10 virtual machine, despite all of the above. I found the solution in the last paragraph here: https://telaeris.com/kb/jenkins-build-error-vdproj/ The gist of it is that VS2017 uses an additional per-user registry overlay, and you may need to set the EnableOutOfProcBuild key there too. The steps are:
Hope this helps anyone still beating their heads against this problem. |
Thanks for the answer @it3xl and thanks to @joeskeen for the question. If anyone is having the same issue in an azure devOps yaml build here is an example:
|
I'm getting the below error. ##[debug]Entering Invoke-VstsTool. Start 365e3b0a-63cf-4ee4-9ce2-08d24b0a0d70.cmd Seting the current path to the DisableOutOfProcBuild.exe installation folder. 'DisableOutOfProcBuild.exe' is not recognized as an internal or external command, Revert the previous current directory. ##[debug]Exit code: 0 |
Did you run my files? |
Yes, I integrated this batch file as task in azure devops. While building this task i got this error. |
@Sathish6 , I only started to adapt this project for VS 2019. Are you using VS 2019? If not then let me know and I'll investigate this. |
Here's a PowerShell implementation that abstracts the installation location of Visual Studio:
|
Can anyone please help me with how to handle the private nuget feed authentication while working with devenv ? Am already using NuGetAuthenticate@1 which is working perfectly for dotnet-cli commands. But when I call And the same command is worknig perfectly in my development machine. |
I cloned this repo and created a copy for VS2017 (that pointed to the correct paths for VS 2017):
I also adjusted the workaround and included it:
I see in the build log that it is using the correct paths and making the registry call, but I still get the error:
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. :(
The text was updated successfully, but these errors were encountered: