quali
asked on
COM Interoperability experts: Deployment without GAC registration?
Hi
How can the unmanaged dll that references the .net dll be deployed to client pc without registering in GAC?
Application works fine when I registered .net dll in GAc by using regasm tool.
But I want a solution without GAC registration.
Is it possible? What should I have to do?
Regards
How can the unmanaged dll that references the .net dll be deployed to client pc without registering in GAC?
Application works fine when I registered .net dll in GAc by using regasm tool.
But I want a solution without GAC registration.
Is it possible? What should I have to do?
Regards
ASKER
>>Otherwise, sign the .NET assembly and use gacutil to install it in the GAC.
I required a solution where my .Net assembly should not be in GAC or in registery.
>>from me >> Application works fine when I registered .net dll in GAc by using regasm tool.
IS IT POSSIBLE THAT MY COM COMPONENT CAN ACCESS .NET COMPONENT WITHOUT HAVING IT(.Net component) IN REGISTRY??
I required a solution where my .Net assembly should not be in GAC or in registery.
>>from me >> Application works fine when I registered .net dll in GAc by using regasm tool.
IS IT POSSIBLE THAT MY COM COMPONENT CAN ACCESS .NET COMPONENT WITHOUT HAVING IT(.Net component) IN REGISTRY??
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Great :)
>>Can you exaplain WHY you can't have the component in the registry or GAC?
"The Company" required it in this way.
they have some client server application where they don't (can't) want assemblies in registery.
Is it possible to call a .Net component in c++ unmanaged code without using CCW?
How can i use .Net component in unmanaged component without registering it(.Net component ) in registery??
Any tutorial will be a great help.
>>Can you exaplain WHY you can't have the component in the registry or GAC?
"The Company" required it in this way.
they have some client server application where they don't (can't) want assemblies in registery.
Is it possible to call a .Net component in c++ unmanaged code without using CCW?
How can i use .Net component in unmanaged component without registering it(.Net component ) in registery??
Any tutorial will be a great help.
I don't know if it's possible to go from Unmanaged to .NET. I always see it from .NET to Unmanaged via Platform Invoke and the like.
Check this out:
http://www.codeproject.com/csharp/win32_to_net.asp
Check this out:
http://www.codeproject.com/csharp/win32_to_net.asp
I'm not sure I follow what you want to do exactly. You should only be using REGASM when the .NET assembly is unsigned and you want to debug the code. Otherwise, sign the .NET assembly and use gacutil to install it in the GAC.
How exactly are you deploying the application? As far as I know, REGASM doesn't register an assembly in the GAC, it puts it in the registry with a unique ID like a COM object.