|
From: John M. W. <wri...@gm...> - 2012-10-05 22:03:51
|
After quite a bit of google'ing, I came across someone who had a similar issue which was fixed by emptying their %TEMP% folder. So, being desperate, I did just that and my builds started working again. It would seem there might be some sort of name collision somewhere, but I have no idea where (candle, msbuild, sitting between keyboard and chair). In other words: it works, but I don't know why. ;-/ thanks ~John On Fri, Oct 5, 2012 at 4:38 PM, John M. Wright <wri...@gm...>wrote: > When attempting to build a wixproj from VisualStudio 2012/MSBuild, it > started failing today with the below message. > > Can you provide any insight as to why this might be failing and what file > it is complaining already exists? > > Note: If I run the candle command directly in the console, instead of > through msbuild, it succeeds. > I tried uninstalling WiX and reinstalling, but that didn't help. > > I'm running WiX v3.6. This was working fine earlier today, so I'm sure I > broke something, I just can't figure out what I broke or where else to look. > > thanks > ~john > > Microsoft (R) Build Engine version 4.0.30319.17929 > [Microsoft .NET Framework, version 4.0.30319.17929] > Copyright (C) Microsoft Corporation. All rights reserved. > > Build started 10/5/2012 4:27:44 PM. > Project > "c:\Work\xxxxxV4\Branches\Installer-branch\xxxxx.Installer\Placeholde > rInstaller\EmptyProductInstaller\DemoProductInstaller.wixproj" on node 1 > (Clean > ;Rebuild target(s)). > Compile: > C:\Program Files (x86)\WiX Toolset v3.6\bin\candle.exe -dDebug > -dConfiguratio > n=Debug -dOutDir=bin\ -dPlatform=x86 > -dProjectDir=c:\Work\xxxxxV4\Branches\I > > nstaller-branch\xxxxx.Installer\PlaceholderInstaller\EmptyProductInstaller\ > -dProjectExt=.wixproj -dProjectFileName=DemoProductInstaller.wixproj > -dProjec > tName=DemoProductInstaller > -dProjectPath=c:\Work\xxxxxV4\Branches\Installer- > > branch\xxxxx.Installer\PlaceholderInstaller\EmptyProductInstaller\DemoProduc > tInstaller.wixproj > -dTargetDir=c:\Work\xxxxxV4\Branches\Installer-branch\xxx > xxx.Installer\PlaceholderInstaller\EmptyProductInstaller\bin\ > -dTargetExt=.ms > i -dTargetFileName=DemoProductInstaller.msi > -dTargetName=DemoProductInstaller > > -dTargetPath=c:\Work\xxxxxV4\Branches\Installer-branch\xxxxx.Installer\Pla > ceholderInstaller\EmptyProductInstaller\bin\DemoProductInstaller.msi > -out obj > \Debug\ -arch x86 Product.wxs > C:\Program Files (x86)\MSBuild\Microsoft\WiX\v3.x\wix2010.targets(2066,5): > erro > r MSB6003: The specified task executable could not be run. The file > exists.\r [ > > c:\Work\xxxxxV4\Branches\Installer-branch\xxxxx.Installer\PlaceholderInstalle > r\EmptyProductInstaller\DemoProductInstaller.wixproj] > C:\Program Files (x86)\MSBuild\Microsoft\WiX\v3.x\wix2010.targets(2066,5): > erro > r MSB6003: > [c:\Work\xxxxxV4\Branches\Installer-branch\xxxxx.Installer\Placeh > olderInstaller\EmptyProductInstaller\DemoProductInstaller.wixproj] > Done Building Project > "c:\Work\xxxxxV4\Branches\Installer-branch\xxxxx.Instal > ler\PlaceholderInstaller\EmptyProductInstaller\DemoProductInstaller.wixproj" > (C > lean;Rebuild target(s)) -- FAILED. > > > Build FAILED. > > > "c:\Work\xxxxxV4\Branches\Installer-branch\xxxxx.Installer\PlaceholderInstall > er\EmptyProductInstaller\DemoProductInstaller.wixproj" (Clean;Rebuild > target) ( > 1) -> > (Compile target) -> > C:\Program Files > (x86)\MSBuild\Microsoft\WiX\v3.x\wix2010.targets(2066,5): er > ror MSB6003: The specified task executable could not be run. The file > exists.\r > > [c:\Work\xxxxxV4\Branches\Installer-branch\xxxxx.Installer\PlaceholderInstal > ler\EmptyProductInstaller\DemoProductInstaller.wixproj] > C:\Program Files (x86)\MSBuild\Microsoft\WiX\v3.x\wix2010.targets(2066,5): > erro > r MSB6003: > [c:\Work\xxxxxV4\Branches\Installer-branch\xxxxx.Installer\Placeh > olderInstaller\EmptyProductInstaller\DemoProductInstaller.wixproj] > > 0 Warning(s) > 1 Error(s) > > Time Elapsed 00:00:01.02 > |