Visual Studio-删除未使用的文件 [英] Visual Studio - Remove unused files

查看:211
本文介绍了Visual Studio-删除未使用的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您是否想知道是否有扩展名或宏或通过您的解决方案可以看到的东西,并给出报告,指出在代码中的任何地方未引用哪些js/css/image文件?

Was wondering if there's an extension or macro or something that looks through your solution and gives out a report of which js/css/image files are not being referenced anywhere in code?

我有一个大项目,随着时间的流逝,它已经积聚了灰尘.除了手动搜索每个文件的用法之外,还有其他省时的方法吗?

I have a large project and over time it has accumulated dust. Other than manually searching for each file's usage, is there any other time saving way?

推荐答案

有一个Visual Studio Extension,可以搜索未引用的图像文件.它会找到项目中的所有图像文件,然后扫描所有aspx/cs/ashx/css/js文件以获取参考.它尚未针对Visual Studio 2012进行更新.

There's a Visual Studio Extension that searches for unreferenced image files. It finds all image files in your project and then scan all aspx/cs/ashx/css/js files for references. It has not yet been updated for Visual Studio 2012.

http://visualstudiogallery.msdn.microsoft.com/fb7a9b9c- 08e1-4bb4-91b4-8e512feb5a1b

这篇关于Visual Studio-删除未使用的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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