Author Topic: Explicitly specify .NET 2.0 framework in AutoCAD config  (Read 5250 times)

0 Members and 1 Guest are viewing this topic.

Offline Patriiick

  • Administrator
  • *****
  • Posts: 130
  • Karma: +1/-0
  • Gender: Male
    • prefered language: VB
    • Prog expertise: Good
    • View Profile
  • Twitter: @Patriiick
Explicitly specify .NET 2.0 framework in AutoCAD config
« on: November 19, 2010, 07:47:20 PM »
If you run into trouble when trying to run your .NET programs with AutoCAD, it may be because AutoCAD does not use the correct version of the Framework. If so, follow the instruction in the following config file located in C:\Program Files\AutoCAD 2009\acad.exe.config

Code: [Select]
<!--We always use the latest version of the framework installed on the computer. If you
are having problems then explicitly specify .NET 2.0 by uncommenting the following line.
<supportedRuntime version="v2.0.50727"/>
<!--All assemblies in AutoCAD are fully trusted so there's no point generating publisher evidence-->
<generatePublisherEvidence enabled="false"/>