Electronics Desktop Typeloadexception toolkit error

When trying to open a toolkit in any of the software inside the Electronic Desktop, i.e., Icepak, and the program shows a Typeloadexception and an error associated with a .py file, it may be caused by an incompatibility of the .NET Framework.

  1.  Error Message Example

    A screenshot of a computer

AI-generated content may be incorrect.
  2. Please check the PATH environment variables to see if the following path is present:

    C:\Program Files\PowerShell\7 

    If this path is there, please remove it from the PATH variables and try to open the toolkit again. 

    3. To avoid incorrect usage of the .NET Core runtime, you can temporarily disable the DOTNET_ROOT environment variable using a batch file (.bat) 

    Example batch file: 

    @echo off   
    set DOTNET_ROOT=   
    set PATH=C:\Windows\system32;C:\Windows   
    start "" "C:\Program Files\ANSYS Inc\v251\AnsysEM\ansysedt.exe" 

    Note: You may change the Ansys installation PATH and the release version. 

    1. Double-click or open the bat file. It will open ANSYS AEDT, by passing the .NET runtime.
    2. Now, you may have to open ANSYS AEDT using this batch file everytime, since for the latest release, 2025R2, there is no permanent solution yet.