September 29, 20187 yr 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?
October 5, 20187 yr Pretty sure you can't have your own namespace. But I'm also not sure if DLLs work to begin with
Create an account or sign in to comment