Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
Hello Everybody! I am trying to take my first steps with the .NET SDK, however, I am not able to get the project to run properly. I followed the steps listed here:
But it is not working, when I try to execute the console App, I get an error:
TypeInitializationException: The type initializer for 'log4net.Core.LoggerManager' threw an exception.
Any guidance is greatly appreciated!
N.B.1.: .NET 4.0 is no longer available, so I had to use 5.0.
N.B.2: I had to change the command line arguments to match my configuration.
N.B.3.: I downloaded DOTNET-SDK-5_8_3.msi from PTC
Hi,
From "Help Center" - "How to Use log4net with .NET Core": http://support.ptc.com/help/thingworx/edge_sdk_dotnet/en/index.html#page/dotnet_sdk/c_dotnet_sdk_logging_help_center.html
Hi @HectorAtLmco.
Are you using the instructions in the Help Center? The article you referenced is from 2017 so it probably requires update.
Regards.
--Sharon