在Visual Studio中,“清理"是什么?命令吗? [英] In Visual Studio, what does the "Clean" command do?
问题描述
您知道,输出此=>
--------干净启动:项目: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等文件.不幸的是,这使它对我通常用于清理输出目录的用处不大:当我想压缩源代码时.由于清理"操作不会执行此操作,因此我通常只直接删除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中,“清理"是什么?命令吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!