Skip to main content
1-Visitor
February 2, 2022
Question

SteamSensor Example not working

  • February 2, 2022
  • 2 replies
  • 966 views

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:

 

Article - CS208249 - .NET SDK quick start guide using the Steam Sensor example for ThingWorx (ptc.com)

 

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

2 replies

24-Ruby III
February 3, 2022
Support
February 9, 2022

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