|
-
November 25th, 2004, 05:15 PM
#3
Re: Assembly not Appearing in Add Reference Dialog under .NET tab
True, just to clarify.
Just because an assembly is in the GAC doesn't mean it appears in the .NET references list.
The reason for this is that the GAC isn't quite the same as the registry when considering COM objects.
It should only be used when necessary - as is stated by Microsoft (I can't remember the page in MSDN where I read this, but I do remember reading it).
That said, you can still add .NET assembly references by using the 'browse' button.
The preferred method, if this is an assembly which you've got access to the project and the source code, is to add the PROJECT to the solution.
You do this by right-clicking on the solution in solution explorer and selecting 'add ..' whatever - I can't remember exactly but a good example of this is in my article
http://www.codeguru.com/Csharp/.NET/...cle.php/c8433/
You will then get an additional tab on your main projects 'add reference' page - 'projects'. You can select the project and then it's plain sailing from that point onwards.
Bear in mind if you're running VS professional this isn't a problem as you have all the languages (C++.NET, C# and VB.NET) installed.
However, if like me you're using standard versions then you can only add projects for the languages you have installed. Otherwise you will still have to explicitly browse to the dlls in question.
Darwen.
Last edited by darwen; November 25th, 2004 at 05:18 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|