.NET

Reply
Distinguished Contributor
Posts: 1,691
Registered: ‎12-15-2003
Message 11 of 14 (62 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
Posts: 14
Registered: ‎11-28-2005
Message 12 of 14 (62 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
Posts: 125
Registered: ‎08-02-2005
Message 13 of 14 (62 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
Posts: 29
Registered: ‎10-31-2004
Message 14 of 14 (62 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.

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Welcome to the new Autodesk Community!
If this is your first visit, click here to get started and make the most of the Community. Let us know what you think of the new experience in the Community Feedback Forum.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community