Quantcast
Channel: MSBuild forum
Viewing all articles
Browse latest Browse all 2763

VS2015 - Build Installer Project - keeps loosing Registry Setting

$
0
0

We upgraded projects from VS2010 to 2015, as VS2015 does not support nstaller projects we made the following changes to our build server environment

1. Installed the msi addin for Visual Studio 2015 from https://visualstudiogallery.msdn.microsoft.com/f1cc3f3e-c300-40a7-8797-c509fb8933b9

2. applied the following Registry setting

HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\14.0_Config\MSBuild\EnableOutOfProcBuild (DWORD:0)

The registry setting was applied whilst logged on as a known Domain User account which is a member of the Administrators Group on the build Server, this is the same account that the TFS Build Service runs as.

Everything works fine, but at what appears to be random intervals of a week or two we get the following errors

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

which are an indication that the Registry setting has gone missing. 

The last time I put the registry setting back whilst logged on as myself (not the build user) and that in fact fixed the build.

We now have a very fragile automated build process which seems to break because this registry setting goes missing.

  

Viewing all articles
Browse latest Browse all 2763

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>