Re: using a C# class library in both COM and .NET code?
- From: "Nicholas Paldino [.NET/C# MVP]" <mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 1 Jun 2005 12:51:11 -0400
Jason,
What you are doing is two completely different things. When you
registered through COM (which you did incorrect, btw, you need to call
regsvcs to register assemblies for COM+, I believe), it created a TLB and
then registered that. .NET uses a completely different mechanism to find
assemblies.
Chances are your assembly is in the GAC as a result of the COM
registration, so I wouldn't worry. If it isn't, then place a copy of the
..NET assembly in the bin subdirectory of your ASP.NET application, and it
will find it just fine.
--
- Nicholas Paldino [.NET/C# MVP]
- mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx
"jason" <iaesun@xxxxxxxxx> wrote in message
news:1117643291.039107.40610@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> huh! manually browsing for the .DLL did the trick. how will this be
> resolved during runtime though, i wonder?
>
> thanks though. i can at least start coding with this help
>
.
- Follow-Ups:
- References:
- using a C# class library in both COM and .NET code?
- From: jason
- Re: using a C# class library in both COM and .NET code?
- From: Nicholas Paldino [.NET/C# MVP]
- Re: using a C# class library in both COM and .NET code?
- From: jason
- using a C# class library in both COM and .NET code?
- Prev by Date: Re: Duplicate Guid
- Next by Date: Re: Duplicate Guid
- Previous by thread: Re: using a C# class library in both COM and .NET code?
- Next by thread: Re: using a C# class library in both COM and .NET code?
- Index(es):
Relevant Pages
|