困惑在Visual Studio 2010发布/调试文件夹 [英] Confused about Release/Debug folders in Visual Studio 2010

查看:136
本文介绍了困惑在Visual Studio 2010发布/调试文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在ASP.Net MVC 3,工作时我在调试模式下构建它,所有的文件到bin文件夹。不过,我已经看到了调试&放人; bin文件夹内的释放的文件夹。我为什么不有,在我的bin文件夹?

I am working on ASP.Net MVC 3. When I build it in debug mode, all files go to the bin folder. But I have seen people with "Debug" & "Release" folders inside the bin folder. Why don't I have that in my bin folder?

我如何有调试和放大器;释放我的bin文件夹中的文件夹?或者我应该真的有吗?

How do I have Debug & Release folders in my bin folder? Or should I really have them?

然后,我看到有调试和放大器;发布文件夹中的\\ OBJ \\使用部署向导时创建的文件夹中。什么是这些文件夹下的bin文件夹中的那些有什么不同?这些都一样吗?

Then I saw that there are Debug & Release folders inside \obj\ folder created when using "Deployment Wizard". What is the different between these folders and the ones under "bin" folder? Are these both same?

请帮忙。

推荐答案

<一个href=\"http://stackoverflow.com/questions/5308491/what-are-the-obj-and-bin-folders-created-by-visual-studio-used-for\">Here对于/ OBJ文件夹是什么,以及它如何

至于为什么你没有调试/发布的文件夹在你的/ bin文件夹:

As for why you don't have Debug/Release folders in your /bin folder:

- 下层 - 你的项目属性去构建标签

-Under your project properties go to the Build tab

- 从顶部的配置选择调试或发布

-From the Configuration on top choose Debug or Release

- 对于每个配置,您可以设置在输出路径在窗口的底部。用于调试功能斌\\调试和做版本相同。

-For each configuration you can set the Output Path at the bottom of the window. For Debug use bin\Debug and do the same for Release.

我不知道为什么VS不会自动做到这一点 - 它是为我在同一个解决方案的其他项目

I'm not sure why VS doesn't do this automatically -- it did it for my other projects in the same solution.

这篇关于困惑在Visual Studio 2010发布/调试文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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