Version 1.2.8.0 crashes on startup (3dsmax 2011 64bit)

 
 
 
Posted by:Snoelk
Data created:25 May 2011

right on startup of max this version is crashing the old version 1.2.5.0 was working fine

the only message i got is this

System.IO.FileNotFoundException: Could not load file or assembly 'PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
File name: 'PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

 

framework 4.0 is installed and running fine.

did the installer miss some files ?


Mario Röske
Technical Artist
Piranha-Bytes

solved

the new version is back to framework 3.5. my dll was compiled with framework 4.0


Mario Röske
Technical Artist
Piranha-Bytes

Alternatively you can still compile your dll with .NET 4.0, but create a file called "3dsmax.exe.config" in your Max root dir and paste the following in there:

<?xml version="1.0"?>
<configuration>
  <system.diagnostics>
    <assert assertuienabled="false"/>
    <sources>
      <!-- This removes Binding error messages coming from AdWindows components -->
      <source name="System.Windows.Data" switchName="SourceSwitch">
        <listeners>
          <remove name="Default" />
        </listeners>
      </source>
    </sources>
    <switches>
      <add name="SourceSwitch" value="All" />
    </switches>
    <trace autoflush="true" indentsize="4"></trace>
  </system.diagnostics>
  <startup useLegacyV2RuntimeActivationPolicy="true">
    <supportedRuntime version="v4.0.30319"/>
    <supportedRuntime version="v2.0.50727"/>
  </startup>
</configuration>

This should force Max to load with .NET CLR 4.0 (instead of default 2.0/3.5 CLR)

Marsel Khadiyev (Software Developer, EPHERE Inc.)