In this part we will try to invoke compiled C# assembly to JScript
first we will get the DotNetToJScript project from GitHub

Now let’s open the solution

Please notice we have to projects
Now let’s test this
//This C# code in Example Assembly Solution
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Windows.Forms;
[ComVisible(true)]
public class TestClass
{
public TestClass()
{
MessageBox.Show("Test", "Test", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
}
public void RunProcess(string path)
{
Process.Start(path);
}
}

Now build the solution

Now we got this file

Now let’s copy this file to the path that contains the DotNetToJScript.exe
