How to: Deploy SQL Server CLR Integration Database Project Items in Referenced Assemblies
You cannot deploy SQL Server Common Language Run-time (SQL CLR) database project items in referenced assemblies by using the deployment features in Visual Studio. You must use the Transact-SQL Create Assembly statement instead. For example, if one SQL CLR database project contains a reference to another SQL CLR database project, you cannot use the deploy command in the first project to deploy the items in the second (referenced) project.
To deploy SQL CLR project items in referenced assemblies
Build the items in your project, a well as any items that have to be built in the referenced assembly.
Deploy the items using the Transact-SQL Create Assembly statement, passing in the information for the DLL that you want to deploy to the SQL Server. For more information, see the Create Assembly (Transact-SQL) topic on the Microsoft Web site.
You must have the appropriate permissions to deploy a new or updated assembly to a database. For more information, see Required Permissions for Database Features of Visual Studio.