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

  • Home
  • SEARCH
  • 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 6720269
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T09:11:33+00:00 2026-05-26T09:11:33+00:00

My .net project references a COM type library which I registered on my developer

  • 0

My .net project references a COM type library which I registered on my developer machine(I don’t have control over this one).
It looks like VS2010 generates interop assemblies on the fly – 2 different(they really differ) for Release and Debug.
These are put in /obj/Release and /obj/Debug folders respectively.
The thing is that the COM library is not and should not be registered on the build machine.

What are my options here?
I don’t feel like putting the /obj/Release(Debug) folders with the interop assemblies under source control. If I have to do that I would like to change the paths but I don’t see any way to do that.

If I have to use tlbimp to generate the IA’s myself how do I generate the 2(Debug and Release) versions?

  • 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-05-26T09:11:33+00:00Added an answer on May 26, 2026 at 9:11 am

    You can create an interop assembly manually by using tlbimp.exe, and then reference those assemblies instead of the actual COM library. This means Visual Studio does not have to generate the interop-assemblies and you have full control over them. You would have to check these in of course, but then you can put them anywhere you want.

    Edit:

    Since the interop assembly contains only metadata, that is to say no executable code, there should be no difference between a “Release” or “Debug” build, in fact tlbimp.exe does not have options to specify either.

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

Sidebar

Related Questions

I have a .NET project which references another assembly that is built outside of
I have an ASP.NET VB.NET web project that references a VB.NET class library. I
I have an ASP.NET web application project which references another project called ModusCore (or
So I've taken over a VB.net web application project from another developer and have
I have a WPF/ASP.NET project which I haven't worked on for a while (ResourceBlender.NET
I have a vb.net 3.5 class library project that needs to reference two assemblies
I want to reference a COM DLL in a .NET project, but I also
I have a .net project that has a web reference to a service. I
We have inherited a vb.net 2003 web project, it seems to reference another web
In a .NET project, say you have a configuration setting - like a connection

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.