By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,670 Members | 1,558 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,670 IT Pros & Developers. It's quick & easy.

Cannot add reference to my shared assembly

P: n/a
Hi,

i have this dummy server which i would like to be a shared assembly:

using System;
using System.Reflection;
using System.Runtime.CompilerServices;

[assembly: AssemblyKeyFile(@"..\..\key.key")]
namespace MySrv
{
public class MyServer
{
private long m_lNumber;
public MyServer() {
m_lNumber = 5;
}

public long GetNumber() {
return m_lNumber;
}
}
}

I did add it to Global Assembly Cache - i can see it in Microsoft .NET
Framework Configuration - so it must be installed. Right?

My problem/question is: when i try to use it in my test VB.NET app, i can´t
add reference to it - i can´t find it in Add Reference dialog -> .NET tab.

Am i missing something?

thx

Kimmo Laine

Nov 15 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Kimmo,
Am i missing something?


INFO: How to Display an Assembly in the Add Reference Dialog Box
http://support.microsoft.com/?kbid=306149

Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Nov 15 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.