@@ -1714,7 +1714,9 @@ namespace AppInstaller::CLI::Workflow
17141714 IConfigurationUnitProcessorDetails3 unitProcessor3;
17151715 if (unit.try_as (unitProcessor3))
17161716 {
1717- Node& node = FindNodeForFilePath (unitProcessor3.Path ());
1717+ winrt::hstring unitPath = unitProcessor3.Path ();
1718+ AICLI_LOG (Config, Verbose, << " Found unit `" << Utility::ConvertToUTF8 (unit.UnitType ()) << " ` at: " << Utility::ConvertToUTF8 (unitPath));
1719+ Node& node = FindNodeForFilePath (unitPath);
17181720 node.Units .emplace_back (std::move (unit));
17191721 }
17201722 }
@@ -1814,15 +1816,20 @@ namespace AppInstaller::CLI::Workflow
18141816
18151817 for (const auto & package : source.Packages )
18161818 {
1819+ AICLI_LOG (Config, Verbose, << " Exporting package `" << package.Id << " ` at: " << package.InstalledLocation );
1820+
18171821 auto packageUnit = anon::CreateWinGetPackageUnit (package, source, context.Args .Contains (Args::Type::IncludeVersions), sourceUnit, packageUnitType);
18181822 configContext.Set ().Units ().Append (packageUnit);
18191823
18201824 // Try package settings export.
18211825 auto unitsForPackage = unitProcessorTree.GetResourcesForPackage (package);
18221826 for (auto itr = unitsForPackage.begin (); itr != unitsForPackage.end (); ++itr)
18231827 {
1828+ winrt::hstring unitType = itr->UnitType ();
1829+ AICLI_LOG (Config, Verbose, << " exporting unit `" << Utility::ConvertToUTF8 (unitType));
1830+
18241831 ConfigurationUnit configUnit = anon::CreateConfigurationUnitFromUnitType (
1825- itr-> UnitType () ,
1832+ unitType ,
18261833 Utility::ConvertToUTF8 (packageUnit.Identifier ()));
18271834
18281835 auto exportedUnits = anon::ExportUnit (context, configUnit);
0 commit comments