C# 生成 obj 文件夹是为了什么?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/172279/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-03 16:35:48  来源:igfitidea点击:

What is obj folder generated for?

c#.netvisual-studiobuild-process

提问by Nazgul

Possible Duplicate:
What are the obj and bin folders (created by Visual Studio) used for?

可能的重复:
obj 和 bin 文件夹(由 Visual Studio 创建)用于什么?

The default output path for any project is Visual studio is bin/Debug, but I have noticed that objfolder is also generated which again contains dlland pdbfiles. Can someone tell me why is this folder generated?

任何项目的默认输出路径是 Visual Studio is bin/Debug,但我注意到obj还会生成文件夹,其中再次包含dllpdb文件。有人能告诉我为什么会生成这个文件夹吗?

采纳答案by casademora

"obj" folder is used to store temporary object files and other files used to create the final binary.

“obj”文件夹用于存储临时对象文件和用于创建最终二进制文件的其他文件。

Further reading here

进一步阅读这里