CREATE ASSEMBLY SomeTypes
 FROM 'c:\types\SomeTypes.dll'

-- Set visibility off
ALTER ASSEMBLY SomeTypes
 WITH VISIBILITY=OFF

-- To reload the SomeTypes assembly, as long as it is not currently being
-- referenced, we can use the following syntax.
ALTER ASSEMBLY SomeTypes
 FROM 'c:\types\SomeTypes.dll'
GO

-- Add debugging information
ALTER ASSEMBLY SomeTypes
ADD FILE FROM 'c:\types\SomeTypes.pdb'
GO