
I'm trying to access one of my sample dll in Dexterity but can't get it to work for some reason.
namespace Web.Dexterity
{
public class Class1
{
public Class1()
{}
public int getSum(int a, int b)
{
return a + b;
}
}
}
and then reference the dll in dexterity and using following code in dex.
using PaperSave.Web.Dexterity; local Class1 c;
Using statement compiles just fine. meaning my dll is referenced properly but Class1 is giving an error. Error is : Unknown Identifier Class1
Type incompatibility' Cannot find field Class1'
.NET dll is compiled any cpu in framework 4.
I refered following article as a reference.
Any thoughts ?
Himal
*This post is locked for comments
I have the same question (0)Thank you all readers :) Finally I'm able to figure it out. I end up putting my custom dll in the same folder as dexterity. It was giving me warning that it can't load my assembly. and who cares for warnings :) now i does.
Also, it doesn't care what you write in using statement. it won't give you compilation error if you write any junk in there. I didn't realize up until now.
Hopefully this would help someone like me.
Thanks,
Himal