Closed t1m0thyj closed 4 months ago
Fixes an error preventing compilation of COM interface assembly, when VirtualDesktop.Configure is invoked in a .NET 6 single file application compiled with PublishSingleFile=true.
VirtualDesktop.Configure
PublishSingleFile=true
I don't like the usage of AllowUnsafeBlocks but this seems to be the recommended solution according to Microsoft - see https://github.com/dotnet/runtime/issues/42621#issuecomment-697429214= and https://github.com/dotnet/runtime/issues/36590#issuecomment-689883856=.
AllowUnsafeBlocks
Closing in favor of https://github.com/Slion/VirtualDesktop/pull/25 since this repo appears to no longer be maintained
Fixes an error preventing compilation of COM interface assembly, when
VirtualDesktop.Configure
is invoked in a .NET 6 single file application compiled withPublishSingleFile=true
.I don't like the usage of
AllowUnsafeBlocks
but this seems to be the recommended solution according to Microsoft - see https://github.com/dotnet/runtime/issues/42621#issuecomment-697429214= and https://github.com/dotnet/runtime/issues/36590#issuecomment-689883856=.