0

How can i assembly "NET Framework 4" with autocad 2010. I have problems while using NETLOAD command.

Pratik
  • 11,534
  • 22
  • 69
  • 99
user15335037
  • 1
  • 1
  • 1

4 Answers4

5

You need to use .NET 3.5 with AutoCAD 2010. 4.0 is only supported by AutoCAD 2012.

Maxence
  • 12,868
  • 5
  • 57
  • 69
4

AutoCAD 2010 can support non beta .Net 4.0 versions. If you edit the acad.exe.config file you may add this to get .Net 4.0 functionality:

<startup useLegacyV2RuntimeActivationPolicy="true">
    <supportedRuntime version="v4.0"/>
</startup>

You can see for yourself in this AU material: Using .NET 4.0 with AutoCAD

CAD.Dev
  • 187
  • 1
  • 1
  • 12
2

If you go into the AutoCAD install folder and edit the acad.exe.config file there you can add .NET 4.0 as a supported runtime:

<startup>
    <!-- v Add this line v -->
    <supportedRuntime version="v4.0"/>
</startup>

Note that advanced features of C# added in 4.0 wont work because they require all assemblies involved to be compiled for that version.

kitsu.eb
  • 2,996
  • 1
  • 26
  • 28
1

Go To Project>yourappname properties>Compile>Advanced Compile options. And choose target .NET Framework 3.5

PandaNL
  • 828
  • 5
  • 18
  • 40