.NET

Reply
Distinguished Contributor
NathTay
Posts: 1,691
Registered: ‎12-15-2003
Message 11 of 14 (66 Views)

Re: App that works in 06 dose not in 07

07-25-2006 03:37 PM in reply to: JohnB-HKS
If you follow Tony's advice and set Local Copy to false you should be able to place it anywhere.

Regards - Nathan
Contributor
bdennis
Posts: 14
Registered: ‎11-28-2005
Message 12 of 14 (66 Views)

Re: App that works in 06 dose not in 07

11-15-2006 06:15 AM in reply to: JohnB-HKS
The app config file for acad can be set to target a particular version of the .NET framework. By default it targets the highest version but you can explicitly set it for acad 2006 and 2007 individually. If acad2007 is set to target the 2.0 framework and your plug-in was compiled with 1.1 framework then it won't load. That is why you're getting the "Unknown Command" error. Modify the app config file in the program files folder where the executable lives to look for the same version of the framework that you're using. Each version of visual studio is designed to target a particular framework as well. VS2003 = 1.1fx, VS2005=2.0fx.
Distinguished Contributor
cgay
Posts: 125
Registered: ‎08-02-2005
Message 13 of 14 (66 Views)

Re: App that works in 06 dose not in 07

11-15-2006 11:20 AM in reply to: JohnB-HKS
How would one compile a dll for AutoCAD 2007, referencing AcDbMgd.dll and AcmGD.dll from AutoCAD 2007, in v1.1 of the framework anyways? This should not compile. You would be referencing v2.0 components that require v2.0 of the framework?
Active Contributor
rangasatishkumar
Posts: 29
Registered: ‎10-31-2004
Message 14 of 14 (66 Views)

Re: App that works in 06 dose not in 07

04-18-2007 03:21 AM in reply to: JohnB-HKS
After setting the property "Local Copy" to "false", You have to delete the file "acmgd.dll" from the "debug" folder.
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!