I have a SQL CLR dll I want to deploy, but have found you can embed the byte stream/varbinary_literal/ varbinary_expression/assembly bits into a text file to get around the
Found here, the varbinary
can be generated without custom code for generating it, only by using SQL Server Management Studio (SSMS) and a local SQL Server instance.
create
or alter
your assembly in your database using its local path on your local SQL Server.
use yourBase
go
create assembly YourAssemblySqlName from N'YourLocalPath\YourAssemblyFile.dll'
go
Browse to your assembly in Object Explorer.
Script its creation.
And SSMS gives you the varbinary
.