问题描述
我在一个使用各种各样的类库的网站上工作,这些类库偶尔会更新.其中一个库是sqlproj文件,我相信它是由VS2010制成的.这是其他库的依赖项,由于无法得到此错误,因此无法生成/重建我的解决方案,因此不会生成DLL.当我第一次在VS2013中打开项目时,会获得一个迁移报告,该报告在浏览器中打开.但是迁移表明它是成功的.当我尝试构建项目时,出现错误:
I work on a website that uses various class libraries that are occasionally updated. One of the libraries is a sqlproj file and I believe it was made with VS2010. It is a dependency for other libraries and I'm not able to build/rebuild my solution because I keep getting this error, thus the DLLs will not generate. When I first open the project in VS2013, I get a migration report that opens in my browser. But the migration states that it's successful. When I try building the project, I get the error:
在相同的问题上,我尝试遵循有关此问题的一些建议,但均未成功. 项目无法加载由于升级到Visual Studio 2013后缺少SqlServer.targets文件,该问题似乎也有一些未解决的流.
I've tried to follow some of the recommendations on this question with essentially the same issue, but have been unsuccessful. Project fails to load due to missing SqlServer.targets file after upgrading to Visual Studio 2013 It seems like there are some unresolved streams in that question as well.
任何帮助都会很棒.很乐意提供更多详细信息和/或编辑问题以使其更通用.预先感谢.
Any help would be great. Happy to provide more details and/or edit the question to make it more generalized. Thanks in advance.
推荐答案
https://connect.microsoft.com/SQLServer/feedbackdetail/view/979839
Community 2013版本也存在此问题;转到工具"->扩展和更新"并更新用于数据库工具的Microsoft SQL Server更新"解决了这个问题:)
Had this issue too with the Community 2013 edition; Going to Tools->Extensions and Updates and updating "Microsoft SQL Server Update for database tooling" resolved the issue :)
这篇关于C#VS 2013错误02019:/target的目标类型无效:必须指定'exe','winexe','library','module','appcontainerexe'或'winmdobj'CSC的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!