-
-
Notifications
You must be signed in to change notification settings - Fork 13
Description
Hello,
since the newest version of WmiLight there seems to be some kind of warning when compiling it in an App with Native AOT enabled and the property PublishWmiLightStaticallyLinked set to true.
I get the following Warning when doing dotnet publish to release:
WmiLight.Native.lib(WmiLightNative.obj) : warning LNK4291: module may contain '__except' (Structured Exception Handling) but was not compiled with /guard:ehcont; generating conservative metadata.
The warning didn't appear in version 6.14.0 AFAIK (could be wrong tho). I assume it could be some kind of Visual C++ 26 issue because of the new VS (which is required for full .NET 10 development). It also could be triggered due to the fact that I have set the property ControlFlowGuard to Guard, which seems more possible for me.
Used tech stack:
- Visual Studio 2026 Insiders (11201.2)
- .NET 10 RC 2
- Windows App SDK 1.8.251003001
Could you may have a look into that? Thanks! 🙂