Start differently: Use VS to add a new project to your solution, and tell it to create a class library. It will then create a project with a default "class1" which you can modify to fit your needs as it will contain a valid basic file framework. When you build it, it will produce a .NET DLL assembly for you that should work fine.
You can then add a reference to that project (or the built DLL) to your otehr project and access the methods either directly via their full name: MyAssemblyNamespace.MyClass.Add or by adding the appropriate
using
statement to your code:
using MyAssemblyNamespace;
...
MyClass mc = new MyClass();
mc.Add(...);