在解决方案中查找针对 .net Framework x 的项目 - Visual Studio 2010
我想知道是否有人知道如何在 Visual Studio 2010 解决方案中轻松找到针对特定运行时框架(即 2.0、3.5、4.0 等)的所有项目。
我正在使用一个包含数百个项目(全部针对 3.5)的解决方案,该解决方案最近从 VS 2008 转换为 VS 2010,现在面临着一些我需要解决的间接依赖问题。必须打开每个项目并查看项目的属性对我来说并不是一个真正的选择。
当项目转换为 VS 2010 时,显然出现了问题。使用 .NET Reflector 显示 DLL 中的某些引用引用了 mscorlib、System、System.Xml、System.Configuration、System.Data.SqlXml、System.Security所有版本 4.0.0.0,但查看项目本身,没有引用任何 4.0 程序集。
任何帮助将不胜感激!
谢谢
I was wondering if anybody knows of a way to easily find all projects targeting a specific runtime framework (I.e. 2.0, 3.5, 4.0 etc) within a Visual Studio 2010 solution.
I'm working with a solution with hundreds of projects (all targeting 3.5) that was recently converted from VS 2008 to VS 2010 and is now facing a couple of indirect dependency issues which I need to resolve. Having to open each project and looking at the project's properties is not really an option for me.
Something clearly went wrong when the projects were converted to VS 2010. Using .NET Reflector shows that some of the references in the DLLs have references to mscorlib, System, System.Xml, System.Configuration, System.Data.SqlXml, System.Security all Version 4.0.0.0 but looking at the project itself there are no references to any 4.0 assemblies.
Any help will be appreciated!
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我设法找到了一个很好的 Visual Studio 2010 扩展,它正是我所需要的。
看看 VSCommands 2010,直接链接...
希望这能帮助其他面临类似问题的人将来。
I managed to find a nice Visual Studio 2010 extension which does exactly what I needed.
Have a look at VSCommands 2010, direct link...
Hope this will help anybody else facing a similar issue in the future.