开发者

Scripting - Remove Unused References

开发者 https://www.devze.com 2023-03-04 05:41 出处:网络
The current application Im working on has over 300 lightweight projects which then are then built into a single application (with a lot of dlls).

The current application Im working on has over 300 lightweight projects which then are then built into a single application (with a lot of dlls).

Ive started to notice a lot of the projects have a number of unuse开发者_Python百科d references which are slowly being removed using the "Unused References..." button in Visual Studio on each project.

Is there any way I could script this activity over every project or a tool I could use? I dont want to have to go through the projects individually.

Rob


300 DLLs for a project, personaly I think is a big number. If I was you I would write a custom MS Build Task to IL Merge DLLs together to speed up overall working.

MS Build Task:

http://msdn.microsoft.com/en-us/library/ms171466.aspx

IL Merge:

http://research.microsoft.com/en-us/people/mbarnett/ilmerge.aspx
0

精彩评论

暂无评论...
验证码 换一张
取 消