We are having a 64 bit .Net dll (abc.dll) which we are compiling in visual studio and runs fine.
We are loading this dll into Jni4net tool using the following command ::
C:\user\proxygen.exe "C:\Projects\abc.dll" -wd "C:\Projects\jni4net_test"
After this the we are running the "build.cmd" which results in failure such as -
ITapiLine.generated.cs(316,81): error CS0065: 'Tapi.__ITapiLine.NewCall': event property must have both add and remove accessors
The code defination is likepublic event EventHandler<NewCallEventArgs> NewCall;
and in the implementation's likeif (NewCall != null) { NewCall(this, e); }
The c# compiler version we defined in proxygen.config is<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
and c# 'csc' version specified in path is 'v4.0.30319'
The same code compiles fine in Visual studio , it is an open source code which can be found here Julmar TAPI let us know the probable solution as we have already spent 2 days checking for the same
Attaching here the DLL we are using please try to load and let us know what can be done as its urgent
Atapi.zip