I copied the assembly (assemble name is myCalc, and DLL is mycalc.dll) to the NT8\bin folder (in documents). Then I added the reference to the assembly in NinjaScript editor -> References.
In my indicator, I used the function (myFunction) from the assembly. It works perfectly fine and the indicator displays the results correctly.
Now, when I try to export the indicator (Tools -> Export -> Ninjascript Add-Ons), I get compilation error CS0246 - type or namespace myFunction could not be found.
The assembly (myCalc.dll) exists in the NT8\bin\Custom folder, the indicator compiles and works correctly, but I get error during exporting.
How do I fix it ?
Please Ignore : I FOUND THE PROBLEM.
I added the assembly reference during export and it worked.
