用项目引用替换 VS 项目中的二进制引用的简单方法
注意:系统模块化程度很差,组件之间存在很多耦合,我无法改变这一点。
背景 MS Visual Studio 2010(专业版)
背景故事: 我有一个使用网络服务的解决方案。客户端[组件]和所述 Web 服务之间存在紧密耦合。当我在客户端工作时,我经常需要调整网络服务。客户端和服务端都有不合理数量的[模块化程度低]的项目。更糟糕的是,这些 Web 服务项目以同样的方式依赖于其他 Web 服务和库。因此,创建一个解决方案将包含 200 个项目,并且会使 VS/R# 停止运行,因此创建一个人性化的解决方案不是一种选择。
客户端项目具有对 Web 服务二进制文件的二进制引用(不应该,但确实如此)。有时我不仅想要调试,还想要更改这些项目中的代码。
问题 Visual Studio 中是否有一种简单的方法(例如,使用我不知道的 R# 功能、VS Power Toys 扩展或其他一些 Visual Studio 扩展/插件)将二进制引用替换为项目引用?
Note: system is poorly modularized, there is much coupling between components, and I am in no position to change that.
Context MS Visual Studio 2010 (Pro)
Backstory:
I have a solution that uses a web service. There is tight coupling between client [component] and said web service. When I work on the client I often need to tweak the web service. Both client and service have unreasonable number of [poorly modularized] projects. To make matter worse those web service projects have dependencies in the same manner on other web services and libraries. So that creating one solution will contain 200 projects, and will bring VS/R# to a halt, therefore creating a humangous solution is not an option.
Client projects have binary references to web-service binaries (it shouldn't, but it does). Sometimes I want not just debug, but to change code in those projects.
Question
Is there an easy way in Visual Studio (e.g. using an unknown to me R# feature, or a VS Power Toys extension or yet some other Visual Studio Extension/Plugin) to replace a binary reference with a project reference?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论