Ho un progetto MS DataBase in Visual Studio: dopo aver eseguito un confronto schema, sto provando a generare uno script di distribuzione, il problema è che ottengo centinaia di errori di riferimenti non risolti, ad esempio come le due seguenti:Riferimenti non risolti nel progetto Microsoft Visual Studio SQL
Error 385 TSD03006: View: [auditing].[AuditedEntities] has an unresolved reference to object [INFORMATION_SCHEMA].[REFERENTIAL_CONSTRAINTS]. D:\greatProject\Database\greatProject.Database\Schema Objects\Schemas\auditing\Views\AuditedEntities.view.sql 4 14 greatProject.Database
Error 387 TSD03006: View: [auditing].[AuditedEntities] contains an unresolved reference to an object. Either the object does not exist or the reference is ambiguous because it could refer to any of the following objects: [INFORMATION_SCHEMA].[REFERENTIAL_CONSTRAINTS].[C]::[CONSTRAINT_NAME], [INFORMATION_SCHEMA].[REFERENTIAL_CONSTRAINTS].[CONSTRAINT_NAME] or [INFORMATION_SCHEMA].[TABLE_CONSTRAINTS].[C]::[CONSTRAINT_NAME]. D:\greatProject\Database\greatProject.Database\Schema Objects\Schemas\auditing\Views\AuditedEntities.view.sql 5 69 greatProject.Database
lo sprocs mai hanno problemi quando corrono. C'è un modo rapido e sporco per risolvere questo problema? Forse anche spegnendo forse i controlli di integrità referenziale?
Questa risposta non ha funzionato per il mio ambiente (VS 2013); il percorso descritto non esisteva. La risposta di stakx ha funzionato per me. –