algorithmic modeling for Rhino
Hallo all (but I guess this goes to David),
I am trying to add an assambly to a vb.script component and I am getting this error:
Error (BC31424): Der Typ "System.Runtime.CompilerServices.ExtensionAttribute" in Assembly "System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" wurde an Assembly "mscorlib" weitergeleitet. Entweder fehlt im Projekt ein Verweis auf "mscorlib", oder der Typ "System.Runtime.CompilerServices.ExtensionAttribute" fehlt in der Assembly "mscorlib". (line 9)
The missing element should be in the System.core.dll, however when adding also adding the System.core.dll the vb-script it tells me:
Error (BC2000): Unerwarteter Fehler bei der Compilerinitialisierung: Das Projekt enthält bereits einen Verweis auf die Assembly "System.Core". Es kann kein zweiter Verweis auf "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll" hinzugefügt werden..
Which is fair enoguh becaus the namespaces associated with are allready added.
Any suggestions?
Tags:
Is it because you're adding .NET 4.0 assemblies? Rhino5 ought to use .NET 3.5 I think, and that framework will not be able to load 4.0 assemblies.
Edit: Jon Mirtschin told me I was wrong, .NET 4.0 is used in Rhino5 so that's not the problem after all.
Maybe it has something to do with the library? managed to not use the feature that needed the extra dll's ...
Can it be that it is this problem?
http://stackoverflow.com/questions/13748055/could-not-load-type-sys...
(And are you sure you're not building against 4.5 instead of 4.0?)
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
© 2024 Created by Scott Davidson. Powered by