C# 从VS2013升级到VS2015以及从MSSQL LocalDB 2012升级到2014后,“发布到web”不起作用

C# 从VS2013升级到VS2015以及从MSSQL LocalDB 2012升级到2014后,“发布到web”不起作用,c#,asp.net,sql-server,visual-studio-2013,visual-studio-2015,C#,Asp.net,Sql Server,Visual Studio 2013,Visual Studio 2015,我将Visual Studio 2013更新至2015,并将SQL Server(LocalDB)从2012版更新至2014版。现在,当我想将我的项目发布到web上时,我得到了这个错误 Web deployment task failed. The database platform service with type Microsoft.Data.Tools.Schema.Sql.Sql120DatabaseSchemaProvider is not valid. You must make

我将Visual Studio 2013更新至2015,并将SQL Server(LocalDB)从2012版更新至2014版。现在,当我想将我的项目发布到web上时,我得到了这个错误

Web deployment task failed. The database platform service with type Microsoft.Data.Tools.Schema.Sql.Sql120DatabaseSchemaProvider 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.
我搜索了项目中的文件,如
sln
csproj
文件,并将所有内容设置为正确的VS2015(14.0)版本

我发布的服务器正在运行SQL server Web 2012,但我还无法更新该服务器


有人能帮我吗?我不知道该去哪里解决这个问题。谢谢。

我刚刚重新安装了整个电脑,因为我找不到问题所在。重新安装Windows 10、Visual Studio 2015社区版并重试。同样的错误,当de project中没有数据库时没有问题,当我向项目中添加数据库时,会出现与上面相同的错误。我再次重新安装了Windows 10,这次是使用Visual Studio 2013,一切都恢复正常。我猜VS2015中有一个小错误。我只是重新安装了我的整个计算机,因为我找不到问题。重新安装Windows 10、Visual Studio 2015社区版并重试。同样的错误,当de project中没有数据库时没有问题,当我向项目中添加数据库时,会出现与上面相同的错误。我再次重新安装了Windows 10,这次是使用Visual Studio 2013,一切都恢复正常。我猜VS2015中有一个小错误。