Closed trandzik closed 4 months ago
Hi Peter, thanks for your message. No ideas, unfortunately.
This seems to be a .NET Native toolchain error, rather than a Serilog.Expressions issue, so you're more likely to find people experienced in this via Stack Overflow (feel free to also post a link here).
From what I could see in other similar threads, there may be a line before the error above that mentions which method failed to compile - this would also be good to include in the Stack Overflow post if you're able to track that info down.
Hope this helps, Nick
Hi Nick, thanks for reply and info.
I have just posted the question on Stack Overflow,, hopefully someone there will know what it means. Unfortunately there doesn't seem to be any helpful line before the error.
Description I am having a hard time compiling Release build of UWP application (ARM64) when Serilog.Expressions package is installed. Debug build seems to work fine, however Release fails with following error:
Please do you have some idea what could be causing this? Thanks.
Reproduction Open latest version of Visual Studio 2022 and create a new project. Select C# template "Blank App (Universal Windows)". Add Serilog.Expressions NuGet package to the project. Select Release configuration for ARM64 and build the solution.
Expected behavior Successful compilation.
Relevant package, tooling and runtime versions Latest Serilog.Expressions package (5.0.0) on UWP ARM64. Used UWP template also contains Microsoft.NETCore.UniversalWindowsPlatform package (6.2.14).
Additional context None