我最近从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中加载我的项目吗?