I am trying to reference a class library from a Visual C# SQL CLR Database Project but I get the error
A reference to 'class library' could not be added. SQL Server projects can reference only other SQL Server projects.
Is there a way to add the reference so I don't need to duplicate the code in that class library?
EDIT - Solution?
My current solution, is just adding the few required class files to the SQL CLR Database Project as links to the real files. That way code is in one place, even though it will build in two different spots. It seems to work for my purposes.