Visual studio 2010 模型已经有一个同名的元素
我刚刚创建了一个由两个项目组成的新解决方案:Visual studio 2010 模型已经有一个同名的元素,visual-studio-2010,Visual Studio 2010,我刚刚创建了一个由两个项目组成的新解决方案: SQLServer2008Server项目 SQL Server 2008数据库项目 数据库项目具有对服务器项目的数据库引用。当我尝试构建解决方案时,会出现三个错误: Error 291 SQL04105: The model already has an element that has the same name dbo.sp_scramble Error 292 SQL04105: The model already has an e
Error 291 SQL04105: The model already has an element that has the same name
dbo.sp_scramble
Error 292 SQL04105: The model already has an element that has the same name
dbo.sp_scramble.@Table.
Error 293 SQL04105: The model already has an element that has the same name
dbo.sp_scramble.@Field.
服务器和数据库项目都是使用“导入对象和设置…”选项创建的
此外,仅服务器项目就可以生成无错误的文件
我正在使用VS2010附带的项目模板
我想我的问题是什么导致了这些错误
更新:我通过重命名存储过程修复了错误,但我仍然不知道是什么原因导致了错误。我通过重命名存储过程修复了错误。很高兴知道,但问题的原因会更有用。