从项目剥离出文件中的注释只是为发布版本 [英] Stripping out comments from the project files just for the release build

查看:112
本文介绍了从项目剥离出文件中的注释只是为发布版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的工作多ASP.NET/SharePoint C#项目。在开发过程中,我们用它来把复杂的意见更好地理解。但在此之前我想给我想隐藏所有的评论发布版本(不删除)。是否有任何VS插件或一些工具来做到这一点?

I work on multiple ASP.NET/SharePoint C# projects. During development we use to put elaborate comments for better understanding. But before i want to give a release build i want to hide all the comments (not to remove them). Is there any VS plugin or some tool to do this?

推荐答案

隐藏的是什么?从得到的组件删除?释放模式删除评论。

Hide from what? Remove from resulting assembly? Release mode removes comments.

这篇关于从项目剥离出文件中的注释只是为发布版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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