Building ClickOnce with TeamCity
Migrating our TeamCity server today I got the following error on the new server:
error MSB3147: Could not find required file ‘setup.bin’ in …
I for sure fixed that on the older server, and the fix was to have the SDK on the build server. The issue is that I don’t want to install Visual Studio to do that, so here is how I achieved it
- Copy my whole c:\Program Files\Microsoft SDKs\Windows\v6.0a folder to the server
- Created a registry key
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\GenericBootstrapper\3.5\
Value: Path
Type: REG_SZ
Data: C:\Program Files\Microsoft SDKs\Windows\v6.0a\Bootstrapper\
Then the error was gone and I had my build server ready again to build ClickOnce setup.