If execute against database it works! but trying build on Vs sql server project it doesn't.
CREATE TABLE [dbo].[Recebimento_Arquivo] (
[RAr_Codigo] INT IDENTITY (1, 1) NOT NULL,
[Rar_ID_FS] UNIQUEIDENTIFIER DEFAULT (newid()) ROWGUIDCOL NOT NULL,
[Rec_Codigo] BIGINT NULL,
[FAr_Codigo] INT NOT NULL,
[RAr_Arquivo] VARBINARY (MAX) FILESTREAM NULL,
[RAr_Dat_Cadastro] DATETIME CONSTRAINT [dnfRecebimentoArquivo_RArDatCadastro] DEFAULT (getdate()) NULL,
CONSTRAINT [PK_Recebimento_Arquivo] PRIMARY KEY CLUSTERED ([RAr_Codigo] ASC) ON [FG_ARQUIVOS_DADO],
CONSTRAINT [FK_Recebimento_Arquivo_FAr_Codigo] FOREIGN KEY ([FAr_Codigo]) REFERENCES [dbo].[Formato_Arquivo] ([FAr_Codigo]),
UNIQUE NONCLUSTERED ([Rar_ID_FS] ASC) ON [FG_ARQUIVOS_DADO]
) FILESTREAM_ON [FG_ARQUIVOS_FS_01];
It results
Severity Code Description Project File Line Suppression State
Error SQL71566: Filegroup: [FG_ARQUIVOS_FS_01] cannot not be set on both the Table: [dbo].[Recebimento_Arquivo] and the clustered Primary Key: [dbo].[PK_Recebimento_Arquivo].