[wix-devs] Util.wixext.sln

Ron Martin cpuwzd at comcast.net
Tue Jun 15 18:49:05 PDT 2021


Bob,

If I add a new C++ test file, will it get picked up automatically, or is 
there a .cmd file that I have to update to pick it
up? Since I can't debug this code in a debugger, I'm planning to use the 
log file as my eyes and ears. This does
make the length of the edit-build-test cycle more significant.

Is there anything more I need to know about building from the command 
line than to use VS 2019 command prompt (elevated?) and build.cmd (with 
or without the optional -release parameter? In order to log only the one 
test I care about, I assume that the log parameter has to go on the 
build command line constructed in the unit test itself.

I would never have intuited your advise. I'm just a little bit too far 
outside your communication loop and a little late
arriving. Perhaps there could be running list of meeting sessions in 
which such matters have been discussed (or I can just continue plucking 
feathers and other newbies can just read my messages in the wix-devs 
mailing list.

Thanks.

Ron

On 6/14/2021 10:45 PM, Bob Arnson wrote:
> You can't build WiX projects inside Visual Studio yet. That includes WiX itself, for .wixlibs embedded in extensions. To build those, build WiX from the command line. If your test MSI is one produced as part of a unit test, the WiX build will build those and run the tests (again, from the command line).
>
> -----Original Message-----
> From: wix-devs <wix-devs-bounces at lists.wixtoolset.org> On Behalf Of Ron Martin via wix-devs
> Sent: Monday, 14 June, 2021 19:57
> To: wix-devs <wix-devs at lists.wixtoolset.org>
> Cc: Ron Martin <cpuwzd at comcast.net>
> Subject: [wix-devs] Util.wixext.sln
>
> Bob or Rob,
>
> I don't know if this is what is holding me up, but I need to ask this again:
>
> If you open the solution "Util.wixext.sln" in Debug mode in VS 2019, is the first project listed as "util (incompatible)"?
>
> The conversion report seems to be telling me that Wix isn't installed.
>
> util.wixproj references WixToolset.Sdk. There is a nuget package with that name, but I don't know how it's referenced.
>
> Isn't it the "presence" of WixToolset.Sdk that allows VS 2019 to know what to do with .wixproj files?
>
> How do I get the changes I make in src\ext\Util\ca\scauser.cpp to show up in my test msi?
>
> Ron
>
> ____________________________________________________________________
> WiX Toolset Developer Mailing List provided by FireGiant http://www.firegiant.com/



More information about the wix-devs mailing list