在 Visual Studio 中,“Clean"有什么作用?命令做什么? [英] In Visual Studio, what does the "Clean" command do?
问题描述
你知道,输出 this=>
You know, the one that outputs this=>
------ 清洁开始:项目:Foo.Bar,配置:调试任何 CPU ------
==========清理:1成功,0失败,0跳过==========
------ Clean started: Project: Foo.Bar, Configuration: Debug Any CPU ------
========== Clean: 1 succeeded, 0 failed, 0 skipped ==========
清洁是什么?
推荐答案
输出目录 - 它删除了之前构建的代码.
The output directories - it removes the code that it's previously built.
它不会删除 bin/obj 目录本身(或它们下面的 Debug/Release 目录),只会删除实际的 .exe、.dll 等文件.不幸的是,这对于我通常用于清理输出目录的用途来说不太有用:当我想压缩源代码时.由于 Clean 操作没有这样做,我通常只是直接删除 bin 和 obj 目录.
It doesn't remove the bin/obj directories themselves (or the Debug/Release directories beneath them), just the actual .exe, .dll, etc files. Unfortunately this makes it less useful for my usual use of cleaning up output directories: when I want to zip up the source code. As the Clean action doesn't do this, I usually just delete the bin and obj directories directly.
这篇关于在 Visual Studio 中,“Clean"有什么作用?命令做什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!