I am trying to use lots same scripts in the ArchestrA IDE, so I decide to develop Custom Script Functions in Visual Studio for AppServer. I know the IDE is able to import the "dll" library fill. But I have no clue where to start.
Let me start with simple AddFunction() on .Net 4.5 Framework in Visual Studio using C# code.
Here is the code:
namespace Demo
{
public class DemoClass
{
public int GetAdd(int a, int b)
{
return a + b;
}
}
}
After I import the dll to IDE, I am able to see the function in the Function Browser. But when I am trying to use it in the script, it shows the "Unknow Method" fault. Anyone have thoughts about that?
Let me start with simple AddFunction() on .Net 4.5 Framework in Visual Studio using C# code.
Here is the code:
namespace Demo
{
public class DemoClass
{
public int GetAdd(int a, int b)
{
return a + b;
}
}
}
After I import the dll to IDE, I am able to see the function in the Function Browser. But when I am trying to use it in the script, it shows the "Unknow Method" fault. Anyone have thoughts about that?
Last edited: