Apparently this is an ssue with the way I am building a 'debug' build.  I set
aside my test msi, and just focused on repeating the wix build process
several times and checking the output folder.  After making changes to
RestartManager.cpp or rmutil.cpp, whether I build wix.proj or ext.proj
(command line call to MSBuild) the wixca.dll in the debug output folder is
updated, but the WixUtilExtension.dll (which contains an embedded wixca.dll
AIUI, does not get updated.  Here are snippets form one build log.

Compiled a new wixca.dll after changes to RestartManager.cpp.  New wixca.dll
in the output folder.

                            Write Tracking Logs:
                            
C:\Development\Installs\wix-dev\wix3\build\obj\debug\x86\wixca\wixca.tlog\link.write.1.tlog
                            Read Tracking Logs:
                            
C:\Development\Installs\wix-dev\wix3\build\obj\debug\x86\wixca\wixca.tlog\link.read.1.tlog
                            Outputs for
C:\DEVELOPMENT\INSTALLS\WIX-DEV\WIX3\BUILD\OBJ\DEBUG\X86\WIXCA\CACLEANUP.OBJ|C:\DEVELOPMENT\INSTALLS\WIX-DEV\WIX3\BUILD\OBJ\DEBUG\X86\WIXCA\CHECKREBOOT.OBJ|C:\DEVELOPMENT\INSTALLS\WIX-DEV\WIX3\BUILD\OBJ\DEBUG\X86\WIXCA\CLOSEAPPS.OBJ|C:\DEVELOPMENT\INSTALLS\WIX-DEV\WIX3\BUILD\OBJ\DEBUG\X86\WIXCA\EXITEARLYWITHSUCCESS.OBJ|C:\DEVELOPMENT\INSTALLS\WIX-DEV\WIX3\BUILD\OBJ\DEBUG\X86\WIXCA\NETSHORTCUTS.OBJ|C:\DEVELOPMENT\INSTALLS\WIX-DEV\WIX3\BUILD\OBJ\DEBUG\X86\WIXCA\OSINFO.OBJ|C:\DEVELOPMENT\INSTALLS\WIX-DEV\WIX3\BUILD\OBJ\DEBUG\X86\WIXCA\PRECOMP.OBJ|C:\DEVELOPMENT\INSTALLS\WIX-DEV\WIX3\BUILD\OBJ\DEBUG\X86\WIXCA\QTEXECCA.OBJ|C:\DEVELOPMENT\INSTALLS\WIX-DEV\WIX3\BUILD\OBJ\DEBUG\X86\WIXCA\REMOVEFOLDERSEX.OBJ|C:\DEVELOPMENT\INSTALLS\WIX-DEV\WIX3\BUILD\OBJ\DEBUG\X86\WIXCA\RESTARTMANAGER.OBJ|C:\DEVELOPMENT\INSTALLS\WIX-DEV\WIX3\BUILD\OBJ\DEBUG\X86\WIXCA\SECUREOBJ.OBJ|C:\DEVELOPMENT\INSTALLS\WIX-DEV\WIX3\BUILD\OBJ\DEBUG\X86\WIXCA\SERVICECONFIG.OBJ|C:\DEVELOPMENT\INSTALLS\WIX-DEV\WIX3\BUILD\OBJ\DE
 
BUG\X86\WIXCA\SHELLEXECCA.OBJ|C:\DEVELOPMENT\INSTALLS\WIX-DEV\WIX3\BUILD\OBJ\DEBUG\X86\WIXCA\TEST.OBJ|C:\DEVELOPMENT\INSTALLS\WIX-DEV\WIX3\BUILD\OBJ\DEBUG\X86\WIXCA\WIXCA.OBJ|C:\DEVELOPMENT\INSTALLS\WIX-DEV\WIX3\BUILD\OBJ\DEBUG\X86\WIXCA\WIXCA.RES|C:\DEVELOPMENT\INSTALLS\WIX-DEV\WIX3\BUILD\OBJ\DEBUG\X86\WIXCA\XMLCONFIG.OBJ|C:\DEVELOPMENT\INSTALLS\WIX-DEV\WIX3\BUILD\OBJ\DEBUG\X86\WIXCA\XMLFILE.OBJ:
                            
C:\DEVELOPMENT\INSTALLS\WIX-DEV\WIX3\BUILD\DEBUG\X86\WIXCA.ILK
                            
C:\DEVELOPMENT\INSTALLS\WIX-DEV\WIX3\BUILD\DEBUG\X86\WIXCA.DLL
                            
C:\DEVELOPMENT\INSTALLS\WIX-DEV\WIX3\BUILD\DEBUG\X86\WIXCA.PDB
                            All outputs are up-to-date.
                          Done executing task "Link".
                          Task "Message"
                            Task Parameter:Text=wixca.vcxproj ->
C:\Development\Installs\wix-dev\wix3\build\debug\x86\wixca.dll
                            Task Parameter:Importance=High
                            wixca.vcxproj ->
C:\Development\Installs\wix-dev\wix3\build\debug\x86\wixca.dll
                          Done executing task "Message".
                        Done building target "Link" in project
"wixca.vcxproj".

from same log as above, UtilExtension is NOT updated in the output folder
(so it would still have an old version of wixca.dll)


    Target "_GroupProjectReferencesByParallelization" in file
"C:\Development\Installs\wix-dev\wix3\tools\Traversal.targets":
    Done building target "_GroupProjectReferencesByParallelization" in
project "util.proj".
    Target "Build" in file
"C:\Development\Installs\wix-dev\wix3\tools\Traversal.targets":
      Task "MSBuild"
        Task Parameter:BuildInParallel=False
      Done executing task "MSBuild".
      Task "MSBuild"
        Task Parameter:
            Projects=
                wixext\WixUtilExtension.csproj
                        BuildInParallel=true
                wixlib\UtilExtension.wixproj
                        BuildInParallel=true
        Task Parameter:BuildInParallel=True
        __________________________________________________
        Project
"C:\Development\Installs\wix-dev\wix3\src\ext\UtilExtension\util.proj" is
building
"C:\Development\Installs\wix-dev\wix3\src\ext\UtilExtension\wixext\WixUtilExtension.csproj"
(default targets):

        Building with tools version "12.0".
        Target "PackageRestore" skipped. Previously built successfully.
        Target "_CheckForInvalidConfigurationAndPlatform" skipped.
Previously built successfully.
        Target "CheckRequiredProperties" skipped. Previously built
successfully.
        Target "Build" skipped. Previously built successfully.

        Done building project "WixUtilExtension.csproj".
        __________________________________________________
        Project
"C:\Development\Installs\wix-dev\wix3\src\ext\UtilExtension\util.proj" is
building
"C:\Development\Installs\wix-dev\wix3\src\ext\UtilExtension\wixlib\UtilExtension.wixproj"
(default targets):

        Building with tools version "12.0".
        Target "PackageRestore" skipped. Previously built successfully.
        Target "_CheckForInvalidConfigurationAndPlatform" skipped.
Previously built successfully.
        Target "_CheckRequiredProperties" skipped. Previously built
successfully.
        Target "CheckRequiredProperties" skipped. Previously built
successfully.
        Target "Build" skipped. Previously built successfully.

        Done building project "UtilExtension.wixproj".
      Done executing task "MSBuild".
    Done building target "Build" in project "util.proj".

By deleting (or renaming) the output folders, I got both wixca.dll and
WixUtilExtension.dll to be updated, but I am still interested in how to
reliably build a debug build of wix.



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Debug-delopment-story-tp7597968p7598140.html
Sent from the wix-devs 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=157005751&iu=/4140/ostg.clktrk
_______________________________________________
WiX-devs mailing list
WiX-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to