Register a .net Assembly as Com
-
31 июля 2012 г. 18:59
Hi,
I've some problems with a .net library of mine.
I want to register this library as COM Server.
I called Regasm /register "Path" and Regasm told me that it has registred all types successfully.
Image where the type is visible as COM. (Ole/COM Viewer)
But when I'm search in the Com reference list of visual studio it's not listed.
I don't get it. Why isn't it visible in the referencelist of visual studio?
Greets
Q-Tec
Все ответы
-
31 июля 2012 г. 19:42
- Изменено Joon84Microsoft Community Contributor 31 июля 2012 г. 19:43
- Предложено в качестве ответа navcsharp 31 июля 2012 г. 19:46
- Помечено в качестве ответа Jason Dot WangMicrosoft Contingent Staff, Moderator 8 августа 2012 г. 13:03
- Снята пометка об ответе Jason Dot WangMicrosoft Contingent Staff, Moderator 8 августа 2012 г. 13:04
-
31 июля 2012 г. 19:47
Yeah I saw that post already.
But that's not my problem.
I've admin permission and it seems that the library was registred correctly.
My question is:
Why isn't the com library available in Visual Studio?
Greets
Q-Tec
-
31 июля 2012 г. 20:06
can you find your com object in the registry(regedit) of the machine with the guid that you have mentioned?
regards
joon
-
31 июля 2012 г. 20:27
-
1 августа 2012 г. 6:27
read the To display an assembly in the Add Reference dialog box section in this link : http://msdn.microsoft.com/en-us/library/wkze6zky(VS.100).aspx
regards
joon
- Помечено в качестве ответа Jason Dot WangMicrosoft Contingent Staff, Moderator 8 августа 2012 г. 13:04
-
1 августа 2012 г. 14:56
In which Visual Studio are you looking for a Com reference?
Visual Studio .NET won't display .NET assemblies in the COM reference list. Because that's useless.
They should appear in the reference list of, for example, VB6.
- Помечено в качестве ответа Jason Dot WangMicrosoft Contingent Staff, Moderator 8 августа 2012 г. 13:04
-
6 августа 2012 г. 18:36
Thank you.
I've got it know. It seems that I can't use .NET Com Types in .NET Applications.
Greets
Q-Tec

