工具: 删除Visual Studio项目中文件链接,并把原文件复制到相应的目录
This program replaces file links in Visual Studio Projects with in-place files.
USAGE:
RemoveProjectLinks <project file path> <output directory path>
<project file path>:
the path of your project file(*.csproj, *.vbproj, ...),
in which you want to remove file links
<output directory path>:
the path of output directory. All the files of replaced
project will be copied to this directory.
NOTE: All the contents already exsits in the output directory will be deleted!
花了一个小时写出来的,用了Linq to XML,第一次用.
仅针对两个VB项目做过测试,不过不会修改原项目文件,而是输出到新的目录,所以风险性应该还是比较小的.
下载的源码需要用VS2010打开.