我最近从 VS2010 切换到 VS2012,打开数据库项目时出现以下错误
C:\Trunk\Database\Database.dbproj : error : Internal Error. The database platform service with type Microsoft.Data.Schema.Sql.Sql100DatabaseSchemaProvider is not valid. You must make sure the service is loaded, or you must provide the full type name of a valid database platform service.
我猜它可能是项目文件中令人窒息的以下行
<DSP>Microsoft.Data.Schema.Sql.Sql100DatabaseSchemaProvider</DSP>
或者可能这个
<Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v10.0\TeamData\Microsoft.Data.Schema.SqlTasks.targets" />
知道如何克服这个错误,以便我可以在 VS2012 中加载我的项目吗?