You can put scripts for each object in a post-deployment script, as shown below. Below the script, the stored procedure with the [Org.] Schema is recreated. Hope this helps.
Step1 - Delete the saved procedure automatically added by the project, since it is created according to the default scheme [dbo].
IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[spUpdateCompany]') AND type in (N'P', N'PC')) DROP PROCEDURE [dbo].[spUpdateCompany] GO
Step 2 - Delete the stored procedure, if it already exists in the [Org.] Scheme, and recreate the stored procedure in the [Org.] Scheme.
IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[Org].[spUpdateCompany]') AND type in (N'P', N'PC')) DROP PROCEDURE [Org].[spUpdateCompany] GO CREATE PROCEDURE [Org].[spUpdateCompany] @Id int, @Name [nvarchar](4000) WITH EXECUTE AS CALLER AS EXTERNAL NAME [SQLServerProject.CLR].[StoredProcedures].[spUpdateCompany] GO
source share