Posted By James Haywood

There are three key components to getting .Net 4.0 working inside of Max 2011...

  1. Recompile the mxsdotNet.dlx file using Visual Studio 2010.
  2. Modify the 3dsMax.exe.config file.
  3. Install the Visual C++ 2010 components.

I'll describe each in detail below, but first I should mention that this is not officially supported by Autodesk.  So if you run into trouble because of it, you're on your own.  Kind of like hacking your video card to make it run faster.

I've been running Max 2011 with .Net 4.0 WPF tools running within it for a couple months now without any noticable issues.  But I can't gaurantee that this will be the case for everyone.  And I've only been using the 64-bit version, although I can't think of why this wouldn't work with the 32-bit version as well.  As for versions of Max before 2011, I have no idea if this will work or not.

So, on to the instructions...

1. Recompiling the mxsdotNet plugin is pretty straighforward.  Just install the SDK, open the ...\samples\maxscript\mxsdotNet\mxsdotNet.sln file and compile.  If you don't have Visual Studio 2010, you can download the already recompiled 64-bit version below.

2. Open the ...\Autodesk\3ds Max 2011\3dsmax.exe.config file in a text editor and add the following lines right before the closing </configuration> tag...

<startup useLegacyV2RuntimeActivationPolicy="true">
  <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>

3.  Lastly, if you haven't already installed Visual Studio 2010, you'll need to manually install the Visual C++ 2010 components.  But if you have, then these should be installed for you already.  You can download the installers here...


And that's it.  Once you've got all the necessary files modified correctly, you'll be able to load and use .Net 4.0 assemblies directly in Max.  The DataGridView control alone is worth the effort.

Download 64-bit .Net plugin and config file here.




User Profile
James Haywood
Seattle, WA


You have 545276 hits.