algorithmic modeling for Rhino
I would like to put this out to anyone who has enough experience in .NET Framework or C# debugging.
So this is the exception that is throws right now:
1. Solution exception:Method not found: 'System.Reflection.MemberInfo[] Microsoft.Scripting.Generation.CompilerHelpers.FilterNonVisibleMembers(System.Type, System.Reflection.MemberInfo[])'.
As you will see below, this has been affecting quite a few people over the last few years, and it seems i may have stumbled upon a clue today.
This happened to me after i tried to build an MSVC2010 .sln file (Visual Studio Solution) in Visual Studio 2015 in a separate task that required me to download some files for MSVC2010.
A few hours after that happened, i was calling a c# component in grasshopper, and right after that all my python components failed.
I'm hoping this is reproducible to people more knowledgeable in C# and that someone might be able to shed some light on this troubling matter? I shall pray to the C# gods tonight and offer meat buns. :)
thank you for your time,
LQ
p.s. similar problems all over the net. if it is solved here, i will post the link to the solution in all the links below:
Similar grasshopper community questions:
http://www.grasshopper3d.com/group/ladybug/forum/topics/ladybug-run...
http://www.grasshopper3d.com/profiles/blogs/runtime-error-on-py-com...
http://www.grasshopper3d.com/group/ladybug/forum/topics/ladybug-run...
Similar ironpython community questions
http://ironpython-users.python.narkive.com/S7i7l85w/missingmethodex...
http://stackoverflow.com/questions/8058832/system-missingmethodexce...
Tags:
Hi Tan Li,
this is a shot in the dark, but you could try updating the .Net framework or repairing it.
Giulio
--
Giulio Piacentino
for Robert McNeel & Associates
giulio@mcneel.com
Dear Giulio,
Thank you for your reply. I couldn't pinpoint the problem still, and so in the end I did a clean reinstall that included deleting stuff from AppData>Local and AppData>Roaming (since there was an ironpython folder in there).
Regarding .Net, I uninstalled Visual Studio and all the .Net (4.0, 4.5, 4.6) packages i could see in 'Remove Programs', prior to the clean reinstall, and found that there were some .Net retargeting packages that added to the confusion.
after clearing everything and reinstalling rhino, it worked. Strange thing is that now I couldn't find any .Net installation on the programs list (they still exist, when i checked it with the .net verifier). I hope this is the end to this strange mess.
Thanks for the suggestion!
Regards
Li Qun
I'm glad it worked in the end :D
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by