To run this application you must install .NET.
HI,
why do I get this error about NET (Framework, I suppose..) for V.2 release? My Windows 10 is fully up-to-date.
https://dotnet.microsoft.com/en-us/download/dotnet/5.0/runtime?cid=getdotnetcore
Try to download and install second option (run desktop apps) :)
I have the same problem, running W11. I've tried to download .NET 5.0 but the link shows this:
This release has reached end of life, meaning it is no longer supported. We recommend moving to a supported release, such as 6.0 Runtime. See our support policy for more details.
So, I've downloaded and installed .NET v6.0 but the message
To run this application you must install .NET. Would you like to download it now?
is still happening.

I am running into this issue too. I am using windows 10. Clicking yes takes you to a .net 5 download page which says it is eol. I clicked to go to the .net 6 page and installed. same error. Installed the most recent sdk and still got the same error. I rebooted my system and still get the same error. I am using release 2_0_5_rc. I did download v1_0_11 and it works. Can this issue be looked into? I can provide more info upon request.
I dont have much time to work on this project anymore, but I just made a new build that only bumps the .Net version to 6 from 5.
As well as making a new framework independent build https://github.com/andyvorld/LGSTrayBattery/releases/tag/v2.0.6
it worked! thanks @andyvorld