一次更新解决方案中所有项目的参考路径 [英] Update reference paths for all projects in a solution at once

查看:96
本文介绍了一次更新解决方案中所有项目的参考路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要为解决方案中的所有项目(超过35个项目)添加参考路径.手动执行此操作会很耗时.

I need to add a reference path to all projects (over 35 projects) in a solution. Doing this manually would be time consuming.

是否可以通过编程方式更新/添加/删除所有项目的参考路径?

Is there a way to update/add/remove reference paths for all the projects programmatically?

我发现了一个插件,可以满足我的需求,但很遗憾,

I found an add-in that helps in what I need but unfortunately the add-in's download link is broken.

推荐答案

您始终可以在文本编辑器中打开csproj文件并执行查找/替换. Notepad ++ 具有方便的

You could always open the csproj files in a text editor an perform a find/replace. Notepad++ has a handy replace in files feature.

这篇关于一次更新解决方案中所有项目的参考路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆