Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed #488 that ShellFolder.EnumerateChildIds might throw NullReferenceException if failed to enum the objects #499

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zhuxb711
Copy link

@zhuxb711 zhuxb711 commented Jan 2, 2025

Fixed #488

…eferenceException if failed to enum the objects
@tajbender
Copy link
Contributor

tajbender commented Jan 2, 2025

@zhuxb711
I may test this in (classic) electrifier soon, if this may help.
But seeing the code, your commit looks good. Just gimme some time

...and have a happy new year!

@zhuxb711
Copy link
Author

zhuxb711 commented Jan 2, 2025

@tajbender Thanks, and happy new year to you too!

@tajbender
Copy link
Contributor

@zhuxb711 do you have Build Issues?

Warnings etc.?

@zhuxb711
Copy link
Author

zhuxb711 commented Jan 3, 2025

I did not build the repo on local because the change is simple enough and should not have any impact and build issue. There is no warning on my side.

@zhuxb711
Copy link
Author

zhuxb711 commented Jan 3, 2025

@tajbender I built it on my local and everything is fine. Thanks~

@zhuxb711
Copy link
Author

zhuxb711 commented Jan 3, 2025

@dahall Hi David, would you please take a look at this PR. And please help merge it if have no concerns. Thanks~

@tajbender
Copy link
Contributor

@dahall Hi David, would you please take a look at this PR. And please help merge it if have no concerns. Thanks~

@zhuxb711 I'll build a debug package for NuGet, just wait for the weekend...

I must debug my life first 💌

@zhuxb711
Copy link
Author

zhuxb711 commented Jan 3, 2025

@tajbender Are you the manager on this repo? Why @dahall did not response?

@tajbender
Copy link
Contributor

@tajbender Are you the manager on this repo? Why @dahall did not response?

Please read the FAQs.

This is a hobbies' project, has been in development for about ten years now.
@dahall is doing all these million lines of code just for fun in his spare time.

Besides that, there are endless supporters in terms of bug fixes, testing, bug reporting etc. pp.

It's just an Open Source project. Everyone is free to download the code and adopt his own fixes.

If you can't wait some more days, well, then just use the class in your project as a temporary fix. That's what others do.

Regards,
tajbender

@zhuxb711
Copy link
Author

zhuxb711 commented Jan 3, 2025

@tajbender Sorry but I think you miss-understand my thoughts. I'm wondering whether David no longer support this repo and the maintainer had already changed to you. Just ask in case I missed anything importance haha😁

@tajbender
Copy link
Contributor

tajbender commented Jan 3, 2025

No prob 👍

Just look at the Commit History: https://github.com/dahall/Vanara/commits/master/

His last commit was just a few days ago, so be patient.

My role is a supporting one: https://github.com/dahall/Vanara/graphs/contributors - so You are right, I've been working on Shell32 Stuff for some years now, about seven, I guess.

There is a dummy fork for the WinUI3 stuff, mostly written by myself currently:

However, that's why I wrote I plan to have an alpha version of those the next weeks. This will be my first package that I release through NuGet, so just be patient.

Have an enjoyable day,
thanks for support,

tajbender

e./ btw, this is the current development branch of WinUI3 stuff:

@tajbender
Copy link
Contributor

tajbender commented Jan 3, 2025

BTW: May you share a license of RX-Explorer (WAS) on the Microsoft Store?

This would help testing those Shell32 on WinUI3 stuff a lot.
I'll give you my e-mail then.

Thanks in advance.

@zhuxb711
Copy link
Author

zhuxb711 commented Jan 3, 2025

@tajbender RX-Explorer (WAS) not RX-Player haha. License? You mean a redemption code which could activate RX-Explorer (WAS) on Microsoft Store and make it out of trial status right?

It's easy, please contact me through my email. Thanks.

@tajbender
Copy link
Contributor

tajbender commented Jan 3, 2025

Thanks a lot...
e./ Yep, will be coming soon.

Have a nice weekend!

@tajbender
Copy link
Contributor

Here you can see my bug:

https://www.youtube.com/watch?v=ijMJe8dk9w4

@tajbender
Copy link
Contributor

tajbender commented Jan 6, 2025

Hi @zhuxb711,

My local repository builds fine, using these settings: DebugNoTests for x64.

image

  • It's - however - NOT FOR PRODUCTIVE ENVIRONMENTS. Handle with care although your PR only incorporates tiny changes.

I'll send the package via 📫 e-Mail if that's okay for you.

Regards, have a nice day,

tajbender

Here's the build log:


Rebuild started at 07:54...
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\Magnification\Magnification.csproj (in 176 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\Mpr\Mpr.csproj (in 212 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\FirewallApi\FirewallApi.csproj (in 8 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\IpHlpApi\IpHlpApi.csproj (in 224 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\FhSvcCtl\FhSvcCtl.csproj (in 7 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\Gdi32\Gdi32.csproj (in 232 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\EnhancedStorage\EnhancedStorage.csproj (in 10 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\KtmW32\KtmW32.csproj (in 245 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\HttpApi\HttpApi.csproj (in 252 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\Lz32\Lz32.csproj (in 266 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\Kernel32\Kernel32.csproj (in 276 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\FwpUClnt\FwpUClnt.csproj (in 285 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\ClfsW32\Vanara.PInvoke.ClfsW32.csproj (in 29 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\DXCore\Vanara.PInvoke.DXCore.csproj (in 62 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\DwmApi\Vanara.PInvoke.DwmApi.csproj (in 55 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\ComDlg32\Vanara.PInvoke.ComDlg32.csproj (in 44 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\ComCtl32\Vanara.PInvoke.ComCtl32.csproj (in 40 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\DWrite\Vanara.PInvoke.DWrite.csproj (in 65 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\Imm32\Imm32.csproj (in 301 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\IMAPI\IMAPI.csproj (in 306 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\CimFs\Vanara.PInvoke.CimFs.csproj (in 9 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\CldApi\Vanara.PInvoke.CldApi.csproj (in 9 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\CfgMgr32\Vanara.PInvoke.CfgMgr32.csproj (in 13 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\MsftEdit\MsftEdit.csproj (in 312 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Cabinet\Vanara.PInvoke.Cabinet.csproj (in 8 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Avrt\Vanara.PInvoke.Avrt.csproj (in 7 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\BITS\Vanara.PInvoke.BITS.csproj (in 7 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\AMSI\Vanara.PInvoke.AMSI.csproj (in 7 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Accessibility\Vanara.PInvoke.Accessibility.csproj (in 7 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\AclUI\Vanara.PInvoke.AclUI.csproj (in 9 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\ActiveDS\Vanara.PInvoke.ActiveDS.csproj (in 12 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\BITS\Vanara.BITS.csproj (in 7 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\Core\Vanara.Core.csproj (in 8 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\Net\Vanara.Net.csproj (in 14 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\DnsApi\DnsApi.csproj (in 8 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\DirectoryServices\Vanara.DirectoryServices.csproj (in 14 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\DirectX\DirectX.csproj (in 14 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\CoreConsoleApp\CoreConsoleApp.csproj (in 7 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\Dhcp\Dhcp.csproj (in 8 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\Management\Vanara.Management.csproj (in 22 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\BITS\BITS.csproj (in 8 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\Core\Core.csproj (in 6 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\WUApi\Vanara.PInvoke.WUApi.csproj (in 125 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\WsmSvc\Vanara.PInvoke.WsmSvc.csproj (in 124 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\WslApi\Vanara.PInvoke.WslApi.csproj (in 124 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\WTSApi32\Vanara.PInvoke.WTSApi32.csproj (in 125 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\WscApi\Vanara.PInvoke.WscApi.csproj (in 8 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Ws2_32\Vanara.PInvoke.Ws2_32.csproj (in 10 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\Security\Vanara.Security.csproj (in 153 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\WlanApi\Vanara.PInvoke.WlanApi.csproj (in 7 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\WinTrust\Vanara.PInvoke.WinTrust.csproj (in 8 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\WinSCard\Vanara.PInvoke.WinSCard.csproj (in 8 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\WinInet\Vanara.PInvoke.WinINet.csproj (in 8 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\System\Vanara.SystemServices.csproj (in 186 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Pdh\Vanara.PInvoke.Pdh.csproj (in 8 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\PowrProf\PowrProf.csproj (in 9 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\PortableDeviceApi\PortableDeviceApi.csproj (in 9 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\PeerDist\Vanara.PInvoke.PeerDist.csproj (in 8 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\Printing\Printing.csproj (in 9 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\IScsiDsc\Vanara.PInvoke.IScsiDsc.csproj (in 8 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\IpHlpApi\Vanara.PInvoke.IpHlpApi.csproj (in 10 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\HttpApi\Vanara.PInvoke.HttpApi.csproj (in 9 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Imm32\Vanara.PInvoke.Imm32.csproj (in 11 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Gdi32\Vanara.PInvoke.Gdi32.csproj (in 8 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\IMAPI\Vanara.PInvoke.IMAPI.csproj (in 13 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\FwpUClnt\Vanara.PInvoke.FwpUClnt.csproj (in 13 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\FunDisc\Vanara.PInvoke.FunDisc.csproj (in 13 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\ElsCore\Vanara.PInvoke.ElsCore.csproj (in 8 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\FhSvcCtl\Vanara.PInvoke.FhSvcCtl.csproj (in 7 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\FirewallApi\Vanara.PInvoke.FirewallApi.vbproj (in 8 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\EnhancedStorage\Vanara.PInvoke.EnhancedStorage.csproj (in 12 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\DXGI\Vanara.PInvoke.DXGI.csproj (in 11 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\WPF.Extensions\Vanara.WPF.Extensions.csproj (in 8 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\WindowsUpdate\Vanara.WindowsUpdate.csproj (in 12 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Lz32\Vanara.PInvoke.Lz32.csproj (in 8 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\Windows.Extensions\Vanara.Windows.Extensions.csproj (in 14 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\VirtualDisk\Vanara.VirtualDisk.csproj (in 13 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Kernel32\Vanara.PInvoke.Kernel32.csproj (in 7 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\Windows.Shell\Vanara.Windows.Shell.csproj (in 38 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\Windows.Forms\Vanara.Windows.Forms.csproj (in 34 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\Windows.Shell.Common\Vanara.Windows.Shell.Common.csproj (in 37 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\CSharpRunner\Shared.csproj (in 7 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Wer\Vanara.PInvoke.Wer.csproj (in 9 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\WinBio\Vanara.PInvoke.WinBio.csproj (in 9 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\WebSocket\Vanara.PInvoke.WebSocket.csproj (in 8 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\Net\Net.csproj (in 10 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\WinHTTP\Vanara.PInvoke.WinHTTP.csproj (in 11 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\ExplorerBrowser\ExplorerBrowserDemo.csproj (in 248 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\WcmApi\Vanara.PInvoke.WcmApi.csproj (in 9 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\VssApiMgd\Vanara.PInvoke.VssApiMgd.csproj (in 8 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\VirtDisk\Vanara.PInvoke.VirtDisk.csproj (in 9 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\VssApi\Vanara.PInvoke.VssApi.vcxproj (in 18 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\WcnApi\Vanara.PInvoke.WcnApi.csproj (in 14 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\Windows.Shell\Windows.Shell.csproj (in 252 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Version\Vanara.PInvoke.Version.csproj (in 8 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Usp10\Vanara.PInvoke.Usp10.csproj (in 8 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\UxTheme\Vanara.PInvoke.UxTheme.csproj (in 11 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\User32\Vanara.PInvoke.User32.csproj (in 10 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\UIAutomation\Vanara.PInvoke.UIAutomation.csproj (in 8 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\UserEnv\Vanara.PInvoke.UserEnv.csproj (in 10 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\UrlMon\Vanara.PInvoke.UrlMon.csproj (in 11 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\UIAnimation\Vanara.PInvoke.UIAnimation.csproj (in 14 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Drt\Vanara.PInvoke.Drt.csproj (in 11 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\DnsApi\Vanara.PInvoke.DnsApi.csproj (in 10 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\TextServicesFramework\Vanara.PInvoke.TextServicesFramework.csproj (in 16 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\DOSvc\Vanara.PInvoke.DOSvc.csproj (in 13 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\DStorage\Vanara.PInvoke.DStorage.csproj (in 17 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\DirectX\Vanara.PInvoke.DirectX.csproj (in 22 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\DbgHelp\Vanara.PInvoke.DbgHelp.csproj (in 10 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\DavClnt\Vanara.PInvoke.DavClnt.csproj (in 8 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Mpr\Vanara.PInvoke.Mpr.csproj (in 457 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Magnification\Vanara.PInvoke.Magnification.csproj (in 13 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Direct3D11\Vanara.PInvoke.Direct3D11.csproj (in 147 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\KtmW32\Vanara.PInvoke.KtmW32.csproj (in 123 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Cryptography\Vanara.PInvoke.Cryptography.csproj (in 124 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\P2P\Vanara.PInvoke.P2P.csproj (in 569 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Dhcp\Vanara.PInvoke.Dhcp.csproj (in 34 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\D3DCompiler\Vanara.PInvoke.D3DCompiler.csproj (in 141 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Direct2D\Vanara.PInvoke.Direct2D.csproj (in 171 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\CredUI\Vanara.PInvoke.CredUI.csproj (in 141 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Direct3D12\Vanara.PInvoke.Direct3D12.csproj (in 187 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\Pdh\Pdh.csproj (in 24 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\WinUI.Extensions\Vanara.WinUI.Extensions.csproj (in 567 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\P2P\P2P.csproj (in 25 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\CoreAudio\Vanara.PInvoke.CoreAudio.csproj (in 45 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\PhotoAcquire\PhotoAcquire.csproj (in 45 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\QoS\Vanara.PInvoke.QoS.csproj (in 15 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Rpc\Vanara.PInvoke.Rpc.csproj (in 18 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\Opc\Opc.csproj (in 29 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\Odbc32\Odbc32.csproj (in 29 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\NTDSApi\NTDSApi.csproj (in 32 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\Ole\Ole.csproj (in 40 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\ProjectedFSLib\Vanara.PInvoke.ProjectedFSLib.csproj (in 22 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\PowrProf\Vanara.PInvoke.PowrProf.csproj (in 21 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\OleDlg\OleDlg.csproj (in 50 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\Cryptography\Cryptography.csproj (in 27 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\CredUI\CredUI.csproj (in 25 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\DbgHelp\DbgHelp.csproj (in 42 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Printing\Vanara.PInvoke.Printing.csproj (in 54 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\PortableDeviceApi\Vanara.PInvoke.PortableDeviceApi.csproj (in 45 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\ComDlg32\ComDlg32.csproj (in 41 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\ComCtl32\ComCtl32.csproj (in 40 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\ClfsW32\ClfsW32.csproj (in 37 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\CimFs\CimFs.csproj (in 27 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\PhotoAcquire\Vanara.PInvoke.PhotoAcquire.csproj (in 58 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\CoreAudio\CoreAudio.csproj (in 49 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\Cabinet\Cabinet.csproj (in 19 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\CfgMgr32\CfgMgr32.csproj (in 22 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\CldApi\CldApi.csproj (in 41 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\ShlwApi\Vanara.PInvoke.ShlwApi.csproj (in 8 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\SHCore\Vanara.PInvoke.SHCore.csproj (in 9 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Shared\Vanara.PInvoke.Shared.csproj (in 9 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\SetupAPI\Vanara.PInvoke.SetupAPI.csproj (in 8 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Shell32\Vanara.PInvoke.Shell32.csproj (in 17 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\TaskSchd\Vanara.PInvoke.TaskSchd.csproj (in 94 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\RstrtMgr\Vanara.PInvoke.RstrtMgr.csproj (in 94 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Security\Vanara.PInvoke.Security.csproj (in 95 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\SensorsApi\Vanara.PInvoke.SensorsApi.csproj (in 102 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\SearchApi\Vanara.PInvoke.SearchApi.csproj (in 107 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Opc\Vanara.PInvoke.Opc.csproj (in 99 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Ole\Vanara.PInvoke.Ole.csproj (in 12 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Odbc32\Vanara.PInvoke.Odbc32.csproj (in 8 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\OleDlg\Vanara.PInvoke.OleDlg.csproj (in 15 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\NtDll\Vanara.PInvoke.NtDll.csproj (in 9 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\NTDSApi\Vanara.PInvoke.NTDSApi.csproj (in 8 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\OleDb\Vanara.PInvoke.OleDb.csproj (in 14 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\NewDev\Vanara.PInvoke.NewDev.csproj (in 11 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\NetApi32\Vanara.PInvoke.NetApi32.csproj (in 13 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\MsRdc\Vanara.PInvoke.MsRdc.csproj (in 8 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Msi\Vanara.PInvoke.Msi.csproj (in 9 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\NetListMgr\Vanara.PInvoke.NetListMgr.csproj (in 14 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\NdfApi\Vanara.PInvoke.NdfApi.csproj (in 12 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Multimedia\Vanara.PInvoke.Multimedia.csproj (in 12 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\MsftEdit\Vanara.PInvoke.MsftEdit.csproj (in 16 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\DwmApi\DwmApi.csproj (in 9 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\ElsCore\ElsCore.csproj (in 8 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\DOSvc\DOSvc.csproj (in 10 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\Windows.Shell.Common\Windows.Shell.Common.csproj (in 14 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\Windows.Forms.App\Windows.Forms.App.csproj (in 17 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\Usp10\Usp10.csproj (in 8 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\UserEnv\UserEnv.csproj (in 6 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\Windows.Forms\Windows.Forms.csproj (in 18 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\User32\User32.csproj (in 7 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\UrlMon\UrlMon.csproj (in 8 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\TaskSchd\TaskSchd.csproj (in 6 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\UIAnimation\UIAnimation.csproj (in 8 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\ShlwApi\ShlwApi.csproj (in 7 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\SpellCheckingApi\SpellCheckingApi.csproj (in 8 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\Shell32\Shell32.csproj (in 9 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\Shared\Shared.csproj (in 20 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\SensorsApi\SensorsApi.csproj (in 8 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\SetupAPI\SetupAPI.csproj (in 7 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\QoS\QoS.csproj (in 10 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\VirtDisk\VirtDisk.csproj (in 7 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\Version\Version.csproj (in 8 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\Security\Security.csproj (in 16 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\NtDll\NtDll.csproj (in 10 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\UxTheme\UxTheme.csproj (in 9 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\PInvoke\SpellCheckingApi\Vanara.PInvoke.SpellCheckingApi.csproj (in 134 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\SearchApi\SearchApi.csproj (in 12 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\AMSI\AMSI.csproj (in 416 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\NetListMgr\NetListMgr.csproj (in 154 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\BITS\BITS.csproj (in 421 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\NetApi32\NetApi32.csproj (in 154 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\AclUI\AclUI.csproj (in 151 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\NdfApi\NdfApi.csproj (in 35 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\Msi\Msi.csproj (in 18 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\MsRdc\MsRdc.csproj (in 21 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\VirtualDisk\VirtualDisk.csproj (in 19 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\Multimedia\Multimedia.csproj (in 37 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\Security\Security.csproj (in 9 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\WUApi\WUApi.csproj (in 9 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\System\System.csproj (in 23 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\WTSApi32\WTSApi32.csproj (in 7 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\ActiveDS\ActiveDS.csproj (in 428 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\WsmSvc\WsmSvc.csproj (in 8 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\Ws2_32\Ws2_32.csproj (in 7 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\WinSCard\WinSCard.csproj (in 7 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\WlanApi\WlanApi.csproj (in 8 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\WinINet\WinINet.csproj (in 9 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\WebSocket\WebSocket.csproj (in 15 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\WinBio\WinBio.csproj (in 16 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\WinHTTP\WinHTTP.csproj (in 16 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\VssApi\VssApi.csproj (in 10 ms).
Restored D:\GitHub\electrifier\Vanara\Vanara\UnitTests\PInvoke\WcmApi\WcmApi.csproj (in 17 ms).
1>------ Rebuild All started: Project: Vanara.Core, Configuration: Debug x64 ------
1>Vanara.Core -> D:\GitHub\electrifier\Vanara\Vanara\Core\bin\x64\Debug\net48\Vanara.Core.dll
1>Vanara.Core -> D:\GitHub\electrifier\Vanara\Vanara\Core\bin\x64\Debug\net45\Vanara.Core.dll
1>Vanara.Core -> D:\GitHub\electrifier\Vanara\Vanara\Core\bin\x64\Debug\netstandard2.0\Vanara.Core.dll
1>Vanara.Core -> D:\GitHub\electrifier\Vanara\Vanara\Core\bin\x64\Debug\net5.0\Vanara.Core.dll
1>Vanara.Core -> D:\GitHub\electrifier\Vanara\Vanara\Core\bin\x64\Debug\netcoreapp3.1\Vanara.Core.dll
1>Vanara.Core -> D:\GitHub\electrifier\Vanara\Vanara\Core\bin\x64\Debug\net7.0\Vanara.Core.dll
1>Vanara.Core -> D:\GitHub\electrifier\Vanara\Vanara\Core\bin\x64\Debug\net6.0\Vanara.Core.dll
1>Vanara.Core -> D:\GitHub\electrifier\Vanara\Vanara\Core\bin\x64\Debug\net8.0-windows\Vanara.Core.dll
2>------ Rebuild All started: Project: Vanara.PInvoke.Shared, Configuration: Debug x64 ------
2>Vanara.PInvoke.Shared -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Shared\bin\x64\Debug\net45\Vanara.PInvoke.Shared.dll
2>Vanara.PInvoke.Shared -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Shared\bin\x64\Debug\net5.0\Vanara.PInvoke.Shared.dll
2>Vanara.PInvoke.Shared -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Shared\bin\x64\Debug\netcoreapp3.1\Vanara.PInvoke.Shared.dll
2>Vanara.PInvoke.Shared -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Shared\bin\x64\Debug\net7.0\Vanara.PInvoke.Shared.dll
2>Vanara.PInvoke.Shared -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Shared\bin\x64\Debug\net8.0-windows\Vanara.PInvoke.Shared.dll
2>Vanara.PInvoke.Shared -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Shared\bin\x64\Debug\netstandard2.0\Vanara.PInvoke.Shared.dll
2>Vanara.PInvoke.Shared -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Shared\bin\x64\Debug\net48\Vanara.PInvoke.Shared.dll
2>Vanara.PInvoke.Shared -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Shared\bin\x64\Debug\net6.0\Vanara.PInvoke.Shared.dll
3>------ Rebuild All started: Project: Vanara.PInvoke.Kernel32, Configuration: Debug x64 ------
4>------ Rebuild All started: Project: Vanara.PInvoke.Gdi32, Configuration: Debug x64 ------
5>------ Rebuild All started: Project: Vanara.PInvoke.Cryptography, Configuration: Debug x64 ------
5>Vanara.PInvoke.Cryptography -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Cryptography\bin\x64\Debug\net6.0\Vanara.PInvoke.Cryptography.dll
4>Vanara.PInvoke.Gdi32 -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Gdi32\bin\x64\Debug\net8.0-windows\Vanara.PInvoke.Gdi32.dll
4>Vanara.PInvoke.Gdi32 -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Gdi32\bin\x64\Debug\net7.0\Vanara.PInvoke.Gdi32.dll
5>Vanara.PInvoke.Cryptography -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Cryptography\bin\x64\Debug\net7.0\Vanara.PInvoke.Cryptography.dll
5>Vanara.PInvoke.Cryptography -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Cryptography\bin\x64\Debug\netcoreapp3.1\Vanara.PInvoke.Cryptography.dll
4>Vanara.PInvoke.Gdi32 -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Gdi32\bin\x64\Debug\netcoreapp3.1\Vanara.PInvoke.Gdi32.dll
5>Vanara.PInvoke.Cryptography -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Cryptography\bin\x64\Debug\net8.0-windows\Vanara.PInvoke.Cryptography.dll
4>Vanara.PInvoke.Gdi32 -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Gdi32\bin\x64\Debug\netstandard2.0\Vanara.PInvoke.Gdi32.dll
4>Vanara.PInvoke.Gdi32 -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Gdi32\bin\x64\Debug\net5.0\Vanara.PInvoke.Gdi32.dll
5>Vanara.PInvoke.Cryptography -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Cryptography\bin\x64\Debug\netstandard2.0\Vanara.PInvoke.Cryptography.dll
3>Vanara.PInvoke.Kernel32 -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Kernel32\bin\x64\Debug\net6.0\Vanara.PInvoke.Kernel32.dll
3>Vanara.PInvoke.Kernel32 -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Kernel32\bin\x64\Debug\netcoreapp3.1\Vanara.PInvoke.Kernel32.dll
3>Vanara.PInvoke.Kernel32 -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Kernel32\bin\x64\Debug\net8.0-windows\Vanara.PInvoke.Kernel32.dll
3>Vanara.PInvoke.Kernel32 -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Kernel32\bin\x64\Debug\net7.0\Vanara.PInvoke.Kernel32.dll
4>Vanara.PInvoke.Gdi32 -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Gdi32\bin\x64\Debug\net48\Vanara.PInvoke.Gdi32.dll
3>Vanara.PInvoke.Kernel32 -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Kernel32\bin\x64\Debug\net5.0\Vanara.PInvoke.Kernel32.dll
3>Vanara.PInvoke.Kernel32 -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Kernel32\bin\x64\Debug\net48\Vanara.PInvoke.Kernel32.dll
5>Vanara.PInvoke.Cryptography -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Cryptography\bin\x64\Debug\net5.0\Vanara.PInvoke.Cryptography.dll
3>Vanara.PInvoke.Kernel32 -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Kernel32\bin\x64\Debug\netstandard2.0\Vanara.PInvoke.Kernel32.dll
5>Vanara.PInvoke.Cryptography -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Cryptography\bin\x64\Debug\net48\Vanara.PInvoke.Cryptography.dll
5>Vanara.PInvoke.Cryptography -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Cryptography\bin\x64\Debug\net45\Vanara.PInvoke.Cryptography.dll
4>Vanara.PInvoke.Gdi32 -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Gdi32\bin\x64\Debug\net45\Vanara.PInvoke.Gdi32.dll
4>Vanara.PInvoke.Gdi32 -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Gdi32\bin\x64\Debug\net6.0\Vanara.PInvoke.Gdi32.dll
3>Vanara.PInvoke.Kernel32 -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Kernel32\bin\x64\Debug\net45\Vanara.PInvoke.Kernel32.dll
6>------ Rebuild All started: Project: Vanara.PInvoke.User32, Configuration: Debug x64 ------
7>------ Rebuild All started: Project: Vanara.PInvoke.ShlwApi, Configuration: Debug x64 ------
8>------ Rebuild All started: Project: Vanara.PInvoke.Security, Configuration: Debug x64 ------
7>Vanara.PInvoke.ShlwApi -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\ShlwApi\bin\x64\Debug\net48\Vanara.PInvoke.ShlwApi.dll
7>Vanara.PInvoke.ShlwApi -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\ShlwApi\bin\x64\Debug\net45\Vanara.PInvoke.ShlwApi.dll
7>Vanara.PInvoke.ShlwApi -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\ShlwApi\bin\x64\Debug\net6.0\Vanara.PInvoke.ShlwApi.dll
7>Vanara.PInvoke.ShlwApi -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\ShlwApi\bin\x64\Debug\net8.0-windows\Vanara.PInvoke.ShlwApi.dll
7>Vanara.PInvoke.ShlwApi -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\ShlwApi\bin\x64\Debug\netcoreapp3.1\Vanara.PInvoke.ShlwApi.dll
6>Vanara.PInvoke.User32 -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\User32\bin\x64\Debug\net8.0-windows\Vanara.PInvoke.User32.dll
8>Vanara.PInvoke.Security -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Security\bin\x64\Debug\net45\Vanara.PInvoke.Security.dll
6>Vanara.PInvoke.User32 -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\User32\bin\x64\Debug\netcoreapp3.1\Vanara.PInvoke.User32.dll
7>Vanara.PInvoke.ShlwApi -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\ShlwApi\bin\x64\Debug\net7.0\Vanara.PInvoke.ShlwApi.dll
8>Vanara.PInvoke.Security -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Security\bin\x64\Debug\netcoreapp3.1\Vanara.PInvoke.Security.dll
7>Vanara.PInvoke.ShlwApi -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\ShlwApi\bin\x64\Debug\net5.0\Vanara.PInvoke.ShlwApi.dll
7>Vanara.PInvoke.ShlwApi -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\ShlwApi\bin\x64\Debug\netstandard2.0\Vanara.PInvoke.ShlwApi.dll
6>Vanara.PInvoke.User32 -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\User32\bin\x64\Debug\net45\Vanara.PInvoke.User32.dll
6>Vanara.PInvoke.User32 -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\User32\bin\x64\Debug\netstandard2.0\Vanara.PInvoke.User32.dll
6>Vanara.PInvoke.User32 -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\User32\bin\x64\Debug\net48\Vanara.PInvoke.User32.dll
6>Vanara.PInvoke.User32 -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\User32\bin\x64\Debug\net7.0\Vanara.PInvoke.User32.dll
6>Vanara.PInvoke.User32 -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\User32\bin\x64\Debug\net5.0\Vanara.PInvoke.User32.dll
6>Vanara.PInvoke.User32 -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\User32\bin\x64\Debug\net6.0\Vanara.PInvoke.User32.dll
8>Vanara.PInvoke.Security -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Security\bin\x64\Debug\net6.0\Vanara.PInvoke.Security.dll
8>Vanara.PInvoke.Security -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Security\bin\x64\Debug\net8.0-windows\Vanara.PInvoke.Security.dll
8>Vanara.PInvoke.Security -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Security\bin\x64\Debug\net48\Vanara.PInvoke.Security.dll
8>Vanara.PInvoke.Security -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Security\bin\x64\Debug\netstandard2.0\Vanara.PInvoke.Security.dll
8>Vanara.PInvoke.Security -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Security\bin\x64\Debug\net5.0\Vanara.PInvoke.Security.dll
8>Vanara.PInvoke.Security -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Security\bin\x64\Debug\net7.0\Vanara.PInvoke.Security.dll
9>------ Rebuild All started: Project: Vanara.PInvoke.ComCtl32, Configuration: Debug x64 ------
10>------ Rebuild All started: Project: Vanara.Windows.Extensions, Configuration: Debug x64 ------
11>------ Rebuild All started: Project: Vanara.PInvoke.Rpc, Configuration: Debug x64 ------
10>Vanara.Windows.Extensions -> D:\GitHub\electrifier\Vanara\Vanara\Windows.Extensions\bin\x64\Debug\net48\Vanara.Windows.Extensions.dll
10>Vanara.Windows.Extensions -> D:\GitHub\electrifier\Vanara\Vanara\Windows.Extensions\bin\x64\Debug\net45\Vanara.Windows.Extensions.dll
10>Vanara.Windows.Extensions -> D:\GitHub\electrifier\Vanara\Vanara\Windows.Extensions\bin\x64\Debug\netcoreapp3.1\Vanara.Windows.Extensions.dll
10>Vanara.Windows.Extensions -> D:\GitHub\electrifier\Vanara\Vanara\Windows.Extensions\bin\x64\Debug\netstandard2.0\Vanara.Windows.Extensions.dll
10>Vanara.Windows.Extensions -> D:\GitHub\electrifier\Vanara\Vanara\Windows.Extensions\bin\x64\Debug\net6.0\Vanara.Windows.Extensions.dll
10>Vanara.Windows.Extensions -> D:\GitHub\electrifier\Vanara\Vanara\Windows.Extensions\bin\x64\Debug\net7.0\Vanara.Windows.Extensions.dll
10>Vanara.Windows.Extensions -> D:\GitHub\electrifier\Vanara\Vanara\Windows.Extensions\bin\x64\Debug\net8.0-windows\Vanara.Windows.Extensions.dll
10>Vanara.Windows.Extensions -> D:\GitHub\electrifier\Vanara\Vanara\Windows.Extensions\bin\x64\Debug\net5.0\Vanara.Windows.Extensions.dll
9>Vanara.PInvoke.ComCtl32 -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\ComCtl32\bin\x64\Debug\net48\Vanara.PInvoke.ComCtl32.dll
9>Vanara.PInvoke.ComCtl32 -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\ComCtl32\bin\x64\Debug\netcoreapp3.1\Vanara.PInvoke.ComCtl32.dll
9>Vanara.PInvoke.ComCtl32 -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\ComCtl32\bin\x64\Debug\net6.0\Vanara.PInvoke.ComCtl32.dll
9>Vanara.PInvoke.ComCtl32 -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\ComCtl32\bin\x64\Debug\net8.0-windows\Vanara.PInvoke.ComCtl32.dll
9>Vanara.PInvoke.ComCtl32 -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\ComCtl32\bin\x64\Debug\netstandard2.0\Vanara.PInvoke.ComCtl32.dll
9>Vanara.PInvoke.ComCtl32 -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\ComCtl32\bin\x64\Debug\net45\Vanara.PInvoke.ComCtl32.dll
9>Vanara.PInvoke.ComCtl32 -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\ComCtl32\bin\x64\Debug\net7.0\Vanara.PInvoke.ComCtl32.dll
9>Vanara.PInvoke.ComCtl32 -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\ComCtl32\bin\x64\Debug\net5.0\Vanara.PInvoke.ComCtl32.dll
11>Vanara.PInvoke.Rpc -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Rpc\bin\x64\Debug\net48\Vanara.PInvoke.Rpc.dll
11>Vanara.PInvoke.Rpc -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Rpc\bin\x64\Debug\net45\Vanara.PInvoke.Rpc.dll
11>Vanara.PInvoke.Rpc -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Rpc\bin\x64\Debug\netstandard2.0\Vanara.PInvoke.Rpc.dll
11>Vanara.PInvoke.Rpc -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Rpc\bin\x64\Debug\net7.0\Vanara.PInvoke.Rpc.dll
11>Vanara.PInvoke.Rpc -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Rpc\bin\x64\Debug\net6.0\Vanara.PInvoke.Rpc.dll
11>Vanara.PInvoke.Rpc -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Rpc\bin\x64\Debug\net5.0\Vanara.PInvoke.Rpc.dll
11>Vanara.PInvoke.Rpc -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Rpc\bin\x64\Debug\net8.0-windows\Vanara.PInvoke.Rpc.dll
11>Vanara.PInvoke.Rpc -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Rpc\bin\x64\Debug\netcoreapp3.1\Vanara.PInvoke.Rpc.dll
12>------ Rebuild All started: Project: Vanara.PInvoke.Ole, Configuration: Debug x64 ------
12>Vanara.PInvoke.Ole -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Ole\bin\x64\Debug\netstandard2.0\Vanara.PInvoke.Ole.dll
12>Vanara.PInvoke.Ole -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Ole\bin\x64\Debug\netcoreapp3.1\Vanara.PInvoke.Ole.dll
12>Vanara.PInvoke.Ole -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Ole\bin\x64\Debug\net45\Vanara.PInvoke.Ole.dll
12>Vanara.PInvoke.Ole -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Ole\bin\x64\Debug\net8.0-windows\Vanara.PInvoke.Ole.dll
12>Vanara.PInvoke.Ole -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Ole\bin\x64\Debug\net6.0\Vanara.PInvoke.Ole.dll
12>Vanara.PInvoke.Ole -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Ole\bin\x64\Debug\net48\Vanara.PInvoke.Ole.dll
12>Vanara.PInvoke.Ole -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Ole\bin\x64\Debug\net7.0\Vanara.PInvoke.Ole.dll
12>Vanara.PInvoke.Ole -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Ole\bin\x64\Debug\net5.0\Vanara.PInvoke.Ole.dll
13>------ Rebuild All started: Project: Vanara.PInvoke.Shell32, Configuration: Debug x64 ------
13>Vanara.PInvoke.Shell32 -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Shell32\bin\x64\Debug\net45\Vanara.PInvoke.Shell32.dll
13>Vanara.PInvoke.Shell32 -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Shell32\bin\x64\Debug\net7.0\Vanara.PInvoke.Shell32.dll
13>Vanara.PInvoke.Shell32 -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Shell32\bin\x64\Debug\net5.0\Vanara.PInvoke.Shell32.dll
13>Vanara.PInvoke.Shell32 -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Shell32\bin\x64\Debug\netstandard2.0\Vanara.PInvoke.Shell32.dll
13>Vanara.PInvoke.Shell32 -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Shell32\bin\x64\Debug\net48\Vanara.PInvoke.Shell32.dll
13>Vanara.PInvoke.Shell32 -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Shell32\bin\x64\Debug\netcoreapp3.1\Vanara.PInvoke.Shell32.dll
13>Vanara.PInvoke.Shell32 -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Shell32\bin\x64\Debug\net6.0\Vanara.PInvoke.Shell32.dll
13>Vanara.PInvoke.Shell32 -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\Shell32\bin\x64\Debug\net8.0-windows\Vanara.PInvoke.Shell32.dll
14>------ Rebuild All started: Project: Vanara.PInvoke.SearchApi, Configuration: Debug x64 ------
14>Vanara.PInvoke.SearchApi -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\SearchApi\bin\x64\Debug\net48\Vanara.PInvoke.SearchApi.dll
14>Vanara.PInvoke.SearchApi -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\SearchApi\bin\x64\Debug\netcoreapp3.1\Vanara.PInvoke.SearchApi.dll
14>Vanara.PInvoke.SearchApi -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\SearchApi\bin\x64\Debug\net45\Vanara.PInvoke.SearchApi.dll
14>Vanara.PInvoke.SearchApi -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\SearchApi\bin\x64\Debug\netstandard2.0\Vanara.PInvoke.SearchApi.dll
14>Vanara.PInvoke.SearchApi -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\SearchApi\bin\x64\Debug\net5.0\Vanara.PInvoke.SearchApi.dll
14>Vanara.PInvoke.SearchApi -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\SearchApi\bin\x64\Debug\net6.0\Vanara.PInvoke.SearchApi.dll
14>Vanara.PInvoke.SearchApi -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\SearchApi\bin\x64\Debug\net7.0\Vanara.PInvoke.SearchApi.dll
14>Vanara.PInvoke.SearchApi -> D:\GitHub\electrifier\Vanara\Vanara\PInvoke\SearchApi\bin\x64\Debug\net8.0-windows\Vanara.PInvoke.SearchApi.dll
15>------ Rebuild All started: Project: Vanara.Windows.Shell.Common, Configuration: Debug x64 ------
15>Vanara.Windows.Shell.Common -> D:\GitHub\electrifier\Vanara\Vanara\Windows.Shell.Common\bin\x64\Debug\netstandard2.0\Vanara.Windows.Shell.Common.dll
15>Vanara.Windows.Shell.Common -> D:\GitHub\electrifier\Vanara\Vanara\Windows.Shell.Common\bin\x64\Debug\net48\Vanara.Windows.Shell.Common.dll
15>Vanara.Windows.Shell.Common -> D:\GitHub\electrifier\Vanara\Vanara\Windows.Shell.Common\bin\x64\Debug\net45\Vanara.Windows.Shell.Common.dll
15>Vanara.Windows.Shell.Common -> D:\GitHub\electrifier\Vanara\Vanara\Windows.Shell.Common\bin\x64\Debug\net8.0-windows\Vanara.Windows.Shell.Common.dll
15>Vanara.Windows.Shell.Common -> D:\GitHub\electrifier\Vanara\Vanara\Windows.Shell.Common\bin\x64\Debug\net5.0\Vanara.Windows.Shell.Common.dll
15>Vanara.Windows.Shell.Common -> D:\GitHub\electrifier\Vanara\Vanara\Windows.Shell.Common\bin\x64\Debug\netcoreapp3.1\Vanara.Windows.Shell.Common.dll
15>Vanara.Windows.Shell.Common -> D:\GitHub\electrifier\Vanara\Vanara\Windows.Shell.Common\bin\x64\Debug\net7.0\Vanara.Windows.Shell.Common.dll
15>Vanara.Windows.Shell.Common -> D:\GitHub\electrifier\Vanara\Vanara\Windows.Shell.Common\bin\x64\Debug\net6.0\Vanara.Windows.Shell.Common.dll
========== Rebuild All: 15 succeeded, 0 failed, 0 skipped ==========
========== Rebuild completed at 07:58 and took 04:42,388 minutes ==========

@tajbender
Copy link
Contributor

tajbender commented Jan 6, 2025 via email

@tajbender
Copy link
Contributor

@zhuxb711 My e-Mail is on the way... 🙃

@tajbender
Copy link
Contributor

This is my output, using the old official Release:

10:05:40:157	.NativeTreeView_SelectionChanged(`Home`, treeNode: ).
10:05:40:157	'electrifier.exe' (CoreCLR: clrhost): Loaded 'D:\GitHub\tajbender\electrifier.v1.24\src\electrifier\bin\x64\Debug\net7.0-windows10.0.22621.0\AppX\System.Drawing.Common.dll'. Symbol loading disabled by Include/Exclude setting.
10:05:40:157	'electrifier.exe' (CoreCLR: clrhost): Loaded 'D:\GitHub\tajbender\electrifier.v1.24\src\electrifier\bin\x64\Debug\net7.0-windows10.0.22621.0\AppX\Vanara.Windows.Extensions.dll'. Symbol loading disabled by Include/Exclude setting.
10:05:42:898	.NativeTreeView_SelectionChanged(`Thorsten - Personal`, treeNode: electrifier.Controls.Vanara.Helpers.BrowserItem).
10:05:42:898	'electrifier.exe' (CoreCLR: clrhost): Loaded 'D:\GitHub\tajbender\electrifier.v1.24\src\electrifier\bin\x64\Debug\net7.0-windows10.0.22621.0\AppX\System.Security.Permissions.dll'. Symbol loading disabled by Include/Exclude setting.
10:05:48:446	The program '[11068] electrifier.exe' has exited with code 0 (0x0).

As you can see, enumerating Thorsten - Personal takes some while, about six seconds.

Is your Bug fixed?

@tajbender
Copy link
Contributor

@zhuxb711 Finally I understand that your Issues are fixed by the temporary build?

Can you confirm, again, these fixes are working as expected for RX-Explorer?

@tajbender
Copy link
Contributor

tajbender commented Jan 6, 2025

Sorry for confusions, this PR does NOT belong to #478

@zhuxb711
Copy link
Author

zhuxb711 commented Jan 6, 2025

I could not reproduce it manually, I just found the strange exception reported by my app's user. But the reason is obvious. So I PR the code to fix it.

System.NullReferenceException: Object reference not set to an instance of an object.
  File "Marshal.CoreCLR.cs", line 599, in int Marshal.ReleaseComObject(object o)
    throw new NullReferenceException();
  File "ShellFolder.cs", line 212, in IEnumerable<PIDL> ShellFolder.EnumerateChildIds(FolderItemFilter filter, HWND parentWindow, int fetchSize)+MoveNext()
  File "ShellFolder.cs", line 188, in IEnumerable<ShellItem> ShellFolder.EnumerateChildren(FolderItemFilter filter, HWND parentWindow)+MoveNext()

@tajbender
Copy link
Contributor

@zhuxb711
Okay, finally David must build, test, and release the final, coming version of Vanara.

I will use this temporary package in electrifier, too, to see if my bugs are somehow fixed.

As said, the code looks exactly what is needed to fix enumeration. It's always hard to track down these 🦈 Shell errors, cause it's hard to reproduce...

  • In my point of view, finally, this PR should be approved.

Thanks again, I guess we stay in contact 📫. If you need final Release Packages WITH this fix included let my know, I will build them for you, as I guess it's a critical bug for you, isn't is?

@zhuxb711
Copy link
Author

@tajbender No, this is not that critical because RX-Explorer will enumerate the sub folders only on those "Virtual Folder", for example, "Network folder". For all the rest folders, it would use win32 API directly, which would not be affected by this defect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

EnumerateChildIds throws NullReferenceException if children not available
2 participants