Announcement

Collapse
No announcement yet.

vb.net script runs great in tensscript then fails to compile in hs4 troller rPi linux

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    vb.net script runs great in tensscript then fails to compile in hs4 troller rPi linux

    Running script gstIfDoVb.vb :Exception has been thrown by the target of an invocation.->Does entry point Main exist in script? at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00083] in :0 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in :0 at Scheduler.clsRunVBNetScript.ExecuteScript () [0x003b2] in :0

    Any idea how to debug why it wont compile?

    #2
    If you use Google search (not HS search) you get lots of results

    https://www.google.com/search?q=home...t+in+script%22

    Comment


      #3
      The error pointing to a missing Main entry point is misleading -- you can only assume there is a problem somewhere within your script.

      You should try placing a Try/Catch block around your entire script code and write any exception to the HS log. Hopefully, you will catch the exception instead of it bubbling up to HS.
      tenholde

      Comment

      Working...
      X