开发者

Autocad 2010 and Framework 4.0

How can i assembly "NET Framework 4" with autoc开发者_JAVA技巧ad 2010. I have problems while using NETLOAD command.


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


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


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.


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜