Project settings to do in VS.Net 2005 for generating .TLB files

R

raghudr

Hi,

I have a C# COM Component(C#.dll).The functions of this COM Component
i will be calling from VC++.exe.

So i am generating a C#.TLB for doing this.(using commands
REGASM.exe).

Now every time i change some things i will have to run REGASM.exe from
the command prompt.

What i want is just by Building my C#.dll i want C#.TLB generated and
COM Component registered.

Can anyone please tell me what project settings i have to make in
Visual studio.net 2005 for doing this

Thanks in advance,
RAGHU
 
M

Marc Gravell

Does VS2005 have the "register for com interop" option?

I suspect you could put your command lines into the post-build event
(project properties). In some ways not ideal, but in other ways it
provides the full flexibility of the tlb[imp|exp]/regasm tools.

Marc
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top