Jump to content

Using .dll in Quest profiles


naviomg

Recommended Posts

im trying to get my quest profiles work with a .dll. With .cs files it works without any problems but after converting them to .dll it doesnt work anymore.

My .dll:

using robotManager.Helpful;

namespace Testdll
{
    public class MyTestScript
    {
        static MyTestScript()
        {
            Logging.Write("Init");
        }

        public static void Test()
        {
            Logging.Write("Test1");
        }
    }
}

Added them into the Script Tag in .xml:
 

  <Script>Scripts\testdll.dll
</Script>

Trying to call my testfunction with RunCode in Quester: Both are not working

MyTestScript.Test();

Testdll.MyTestScript.Test();

Error in Wrobot:

wjnzco2s.0.cs(13,3) : error CS1056: Unexpected character '�'
wjnzco2s.0.cs(13,1) : error CS0116: A namespace cannot directly contain members such as fields or methods
wjnzco2s.0.cs(13,4) : error CS1513: } expected



Do i miss something or is it attented to not work with .dll?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...