Hello,

 

I have a problem to build my wix sln on the team build (tfs), hope
anyone who has experience could help.

 

The problem came after I made changes to our product vc++ projects.
Before the change, the wix project, which platform is x86, was one of
the projects included in our product sln, the platform of all other
projects are Win32. This sln has no problem to build on the team build
system. (actually I am wondering now that how the wix project was built
in the past because on the team build, I only let the sln built in Win32
platform, but the wix project is in x86 platform)

 

Then I separated the wix project form our product sln file by creating a
new sln for this wix project. The platform of the solution and wix
project are all in x86. This wix sln has no problem to build on our
local machines because there is only one Release/Debug folder, and all
the dlls refered from the wix project are in that folder, which dlls are
built by our product sln. The problem comes after we build the wix sln
on the build machine, which is running team build system (tfs 2008).
Since our product sln are in Win32 platform, so all binaries generated
from the build on product sln are in the folder like

 

Nightly Build\Binaries\Win32\Release

 

When build the wix sln, it fails because it is looking for the dlls on
this folder

Nightly Build\Binaries\x86\Release

 

Since the wix sln is in x86 plathform, the build automatically create
the 'x86' folder under Binaries and looking for dlls in that folder.

 

I changed the platform of the wix sln from x86 to Win32, so no x86
folder is generated under Binaries, but since the wix project is still
in x86 platform, it is still looking for dlls in the x86 folder, like 

 

Error LGHT0083:  the abc.dll could not be found sith source path:
...nightly build\binaries\x86\Release\abc.dll.

 

In the wxs, the dll searching path is defined as
$(var.TargetDir)abc.dll.

 

So how can I get around this problem? Looks like I cannot create a Win32
platform for the Wix project inside Visual Studio, which would ideally
fix the problem. Is there any other options available in wix to fix
this? I am using wix 3.0.5419. I can certainly upgrade wix to the latest
version, but not sure if that would fix it.

 

Thanks advance for any help.

 

Jason

 

 

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to