Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8872375
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T18:12:26+00:00 2026-06-14T18:12:26+00:00

To build an Autocad application I use C# 4.0. My application has two module

  • 0

To build an Autocad application I use C# 4.0.

My application has two module one for 2005 and another for 2010 autocad. it uses special dll’s of autocad ,but face some difficulty of finishing it up .All should be universal for 2005 and 2010 autocad since dll’s has the same name it was impossible for the app to differ autocad versions.it create problem for autocad interop dll’s in reference.help me to use different dll for different module.

  1. Application has two modules(2005,2010)
  2. Special dll
  3. 2005 and 2010 dll has same name.
  4. Application fail to distinguish dll
  5. Help me to use different same name dll in one application.

Note:In individual project they work perfectly.

need help to use same name dll in one application .

If have any query please ask ,Thanks in advanced.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T18:12:27+00:00Added an answer on June 14, 2026 at 6:12 pm

    I’ve a similar application, it works for autocad from 2006 to 2013 (both x86 and x64) and for bricscad v12-v13.

    To solve it I did a visual studio project for each architecture, each of those projects refers different .dll depending on autocad version. In particular each of those projects refers AcDbMgd.dll, AcMgd.dll, Autodesk.AutoCAD.Interop and Autodesk.AutoCAD.Interop.Common, those dll are specific for each autocad architecture.

    You have to pay attention that all of the referenced dll are in copy local FALSE!

    In my case all the projects are compiled in different folders but it’s not obligatory if you assign a different assembly name for each project.

    Thanks to the fact that AutoCAD API are the same from 2006 to 2012 (2013 has some differences), the source code is separated from those projects, each project include it as a linked source file (go to the project in the solution explorer -> right click -> add existing item -> select the source file and press “add as link”). In this way you have the same source code for all the projects but they are compiled including different autocad dlls.

    In my case there were also some troubles because BricsCAD has sometimes different API with respect to AutoCAD. To solve this few cases I’ve set a conditional compilation symbol and used it like so:

    #if BricsCad
                    CADAPI.ApplicationServices.Application.SystemVariableChanged += new CADAPI.ApplicationServices.SystemVariableChangedEventHandler(Application_SystemVariableChanged);
    #else
                    CADDB.LayoutManager.Current.LayoutSwitched += new CADDB.LayoutEventHandler(Current_LayoutSwitched);
    #endif
    

    Tell me if you need further information. BTW I think your main problem is the copy local = true for autocad Dlls.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Our build process uses Visual Studios 2003 link.exe for linking. On one machine we're
I build a application in Android & iphone both it work fine. but some
I'm developing an AutoCad plugin (MFC dll), I'm using Visual Studio 2010 and C++.
I build an android application but I want that when I give it for
Build a menu using the WPF Ribbon. My application is in the MVVM pattern.
I build up a Office 2010 Word Add In, added a Windows Forms Element
I build my project with Gradle 1.0 and I use the EMMA plugin for
To build Biztalk 2009 projects as part of a TFS 2010 team build I
We have built a webservice for a client that uses AutoCAD. They have a
Our build server is taking too long to build one of our C++ projects.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.