My .NET 6 C# project (Windows service) links to RFA8_NET150_x64.dll (extracted from the rebrand package rfanet8.2.0.L2.win.rrg.zip).
The project runs fine when deploy by XCOPY. However using publish to a single file, window replies
Faulting module name: coreclr.dll, version: 6.0.422.16404, time stamp: 0x622f71b0
Exception code: 0xc0000005
Fault offset: 0x00000000001cd893
It turns out then it fails at the first run of code in RFA DLL, i.e. Context.Initialize. Any idea?
Have downloaded rfanet8.2.2.L1.win.rrg.zip. Those RFA8_150_x64.dll are gone, instead there are RFA8_NET141_x64.dll and RFA8_NET142_x64.dll. Which is the most appropriate dlls to be used in .NET6 project?