.NET

.NET

Reply
Distinguished Contributor
1,691 Posts
3 Kudos
Registered: ‎12-15-2003
Post 11 of 14

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
14 Posts
0 Kudos
Registered: ‎11-28-2005
Post 12 of 14

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
125 Posts
0 Kudos
Registered: ‎08-02-2005
Post 13 of 14

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
29 Posts
0 Kudos
Registered: ‎10-31-2004
Post 14 of 14

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 interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!