I follow the main instructions on adding my Library Class to the Global Assembly.
1 - Create a strong name key pair (/ArchieDLLTesting/bin/Debug/ArchieDLLTesting.snk)
2 - Sign the assembly via Visual Studio (Project property, Sign, Browse that file and Save)
3 - Installing into the GAC (gacutil –I /ArchieDLLTesting/bin/Debug/ArchieDLLTesting.dll)
This is the code of the Library (for a unique/single class I have):
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ArchieDLLTesting
{
public class ArchieSayHello
{
public ArchieSayHello()
{
}
public string SayHello()
{
return "Hello Archimedo";
}
}
}
All operation got successfull! Now, if I open an empty project, and I type for example:
using ArchieDLLTesting;
it does not find that assembly. I've checked the Windows/assembly/GAC_MSIL folder and there isn't my DLL.
So what's wrong here?