Skip to content

Conversation

@ajgorhoe
Copy link

When running the hosted application, exception was being thrown:
System.PlatformNotSupportedException: EventLog access is not supported on this platform.
I have fixed this by using higher version of targeted .NET.
After the update, solution builds without errors in VS 2022 and via command line (dotnet clean - restore - build), all tests pass.

* $(NetCoreAppTopTarget)
* Exception thrown before the update: System.PlatformNotSupportedException: EventLog access is not supported on this platform.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant