Cannot add reference to my shared assembly

  • Thread starter Thread starter Kimmo Laine
  • Start date Start date
K

Kimmo Laine

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
 
Back
Top