Re: [WiX-users] Problems with debugging the BootstrapperCore source files

2015-02-18 Thread Phill Hogland
Thinking back over my managed BA development I hit this problem several
times, always do to some issue in my managed BA code, but I do not recall a
specific cause.  I think I used ProcessExplorer to watch which file it was
trying to load at the point of the problem.  ILSpy was also helpful in
sorting out namespace conflicts, which was a problem when I tried to add a
resource dictionary (which conflicted with the name of a resource in the BA
host dll, which is what loads your managed BA).

I would not try to take a peice of the wix source as you described, rather
follow the process detailed  here http://wixtoolset.org/development/   to
build the wix source.  It can be a challenge to get all of the tools lined
up to build the wix source, or it may go very smooth for you.  Once you do
that then use the proces  here
http://wixtoolset.org/documentation/manual/v3/msbuild/daily_builds.html  
to compile your project against your local debug build.  (I also ran into
issues taking this approach, as I had to carefully edit my wixproj files to
set properties to the wix SDK locations to find extension.)

In general, I do not build against a local build of wix to debug my managed
code and you probably don't need to do the the above either.  (I use the
local build and WixStdBA to debug wix behavior.)  I would first build all
projects against the RTM (I use the Release Configuration).  Then in VS open
the properties for the managed BA project and define Debug and Trace.  Then
set the Debug path to point at your bundle exe.  Add
System.Diagnostics.Debugger.Launch(); to the assembly's Run(), and compile
the mba.  Compile the bundle.exe (rebuild of just the bundle.exe). 
Right-click on the mba project and select debug.   I hope some of the
comments are helpful.  I am sure that there are other approaches.



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Problems-with-debugging-the-BootstrapperCore-source-files-tp7599236p7599271.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Problems with debugging the BootstrapperCore source files

2015-02-17 Thread Balaji R
Hi,

Could anyone please help me on the above mentioned problem ?

Thanks,
Balaji



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Problems-with-debugging-the-BootstrapperCore-source-files-tp7599236p7599266.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users