Gần đây tôi đã chuyển sang VS2012 từ VS2010, khi mở một dự án cơ sở dữ liệu tôi nhận được dưới đây lỗiLàm thế nào để tải dự án cơ sở dữ liệu trong VS2010 và 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.
Tôi đoán nó có thể là các dòng sau trong hồ sơ dự án mà nó đang làm tắc nghẽn trên
<DSP>Microsoft.Data.Schema.Sql.Sql100DatabaseSchemaProvider</DSP>
hoặc có thể đây
<Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v10.0\TeamData\Microsoft.Data.Schema.SqlTasks.targets" />
Bất kỳ ý tưởng làm thế nào để vượt qua lỗi này để tôi có thể tải dự án của tôi trong VS2012?
Có, tôi đã Resharper cài đặt. – aggaton
@aggaton - Một [liên kết] (http://connect.microsoft.com/VisualStudio/feedback/details/728838/visual-studio-11-shows-errors-even-it-built-succeeded) trên kết nối hiển thị tương tự lỗi đã được khắc phục khi bộ nhớ cache của resharper bị xóa. – Blachshma
Xóa các tệp bộ nhớ cache resharper dường như làm các trick cho tôi, cảm ơn. Tôi đã chuyển bộ nhớ cache sang% TEMP% để dễ dàng tìm và loại bỏ thư mục ReSharperChache, sau đó khởi động lại VS2012. – aggaton