mcneel/rhinocommon

System.TypeInitializationException error while constructing a Plane

Closed this issue · 3 comments

Hi all,

I've added a reference to the lastest version of Rhino3dmIO.dll in a Console Application project and tried to construct a Plane:

Plane plane = new Plane(Point3d.Origin, Vector3d.YAxis);

I'm getting System.TypeInitializationException exception though. Am I missing something big time?

Thanks

piac commented

It shouldn't happen. Are you able to look at the inner exception and tell the Description?

Thanks

Giulio

--
Giulio Piacentino
for Robert McNeel & Associates
giulio@mcneel.com

Fortunately, the exception does not happen now that I added the reference again. You can see the exception here. I have also attached the project.

image

RhinoException.zip

piac commented

Thanks @vahidce; I am going to close this issue, as it really is not something I would know how to fix. Feel free to tell me that this is not fixed, otherwise!