Jump to content

System.TypeLoadException in 3ds max after pasting babylon exporter (.dlls)


andyram
 Share

Recommended Posts

Guys, I tried doing this

1. pasted (.dlls) to bin/assemblies from babylon exporter Max2Babylon-0.4.8.zip

2. made sure i have unblocked before unzip

3. Then tried to launch 3ds max. though Babylon option is visible in 3ds max toolbar (at top) it throws up this error after clicking on it. I run 3ds max 2013. please help

System.TypeLoadException: Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
   at System.ModuleHandle.ResolveMethod(RuntimeModule module, Int32 methodToken, IntPtr* typeInstArgs, Int32 typeInstCount, IntPtr* methodInstArgs, Int32 methodInstCount)
   at System.ModuleHandle.ResolveMethodHandleInternalCore(RuntimeModule module, Int32 methodToken, IntPtr[] typeInstantiationContext, Int32 typeInstCount, IntPtr[] methodInstantiationContext, Int32 methodInstCount)
   at System.ModuleHandle.ResolveMethodHandleInternal(RuntimeModule module, Int32 methodToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)
   at System.Reflection.CustomAttributeData..ctor(RuntimeModule scope, CustomAttributeRecord caRecord)
   at System.Reflection.CustomAttributeData.GetCustomAttributes(RuntimeModule module, Int32 tkTarget)
   at System.Reflection.CustomAttributeData.GetCustomAttributesInternal(RuntimeAssembly target)
   at System.Resources.ManifestBasedResourceGroveler.GetNeutralResourcesLanguage(Assembly a, UltimateResourceFallbackLocation& fallbackLocation)
   at System.Resources.ResourceManager.CommonSatelliteAssemblyInit()
   at System.Resources.ResourceManager..ctor(Type resourceSource)
   at System.ComponentModel.ComponentResourceManager..ctor(Type t)
   at Max2Babylon.ExporterForm.InitializeComponent()
   at Max2Babylon.ExporterForm..ctor(BabylonExportActionItem babylonExportAction)
   at Max2Babylon.BabylonExportActionItem.ExecuteAction()
   at Autodesk.Max.Wrappers.ManagedWrapperActionItem.ExecuteAction(ManagedWrapperActionItem* )

Link to comment
Share on other sites

Hi @andyram !  Sorry you have gotten no replies.  https://www.google.com/search?q=system.Runtime.CompilerServices.ExtensionAttribute

It appears that this is somehow related to which version of MS .NET framework is being used.  Soooooo... hmm. 

You might try updating your .net version to the newest... if appropriate.  But no promises.  I am VERY inexperienced in this subject, and really, I just wanted to bump the thread.  Maybe @JCPalmer will visit this thread, and give his advice.  He's a pro at exporters.  @Deltakosh is nearby, too, and he is surely a pro at .NET compilerServices.  ;)

And(y), if you discover something, could you please tell us about it?  thx!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...