andyram Posted May 14, 2016 Share Posted May 14, 2016 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* ) Quote Link to comment Share on other sites More sharing options...
Wingnut Posted May 18, 2016 Share Posted May 18, 2016 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! Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted May 18, 2016 Share Posted May 18, 2016 @Wingnut I do not have a Windows machine, so no help in DLL / 3DMax / .net. I wander into a Unity exporter topic, but only commenting on the output, not the program. Blender is python, and multi-os all on its own Wingnut 1 Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted May 18, 2016 Share Posted May 18, 2016 So did you make sure to use dll from 2013 folders? Can you try to install .net 4.0 and 4.5 just in case as well? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.