什么时候和为什么Visual Studio创建的" 86"子文件夹内"箱位QUOT;后建? [英] When and why Visual Studio creates the "x86" subfolder inside "bin" after build?

查看:259
本文介绍了什么时候和为什么Visual Studio创建的" 86"子文件夹内"箱位QUOT;后建?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有许多项目的解决方案,包含3可执行的项目。我所有的项目都配置为目标的x86的平台,在解决方案中配置管理器我甚至删除了其他人一样混合和任何CPU(这是监守我使用这都制约了我一些第三方库使用x86坚持)。所有3可执行的项目都是用C#内置简单的WinForms应用程序,目标定位.NET 4的完整的个人资料。

I have a solution with many projects, containing 3 executable projects. All of my projects are configured to target "x86" platform, in the solution configuration manager I've even deleted the others like "Mixed" and "Any CPU" (this is becuase I'm using some third party libraries which are restricting me to stick with x86). All 3 executable projects are simple WinForms applications built with C#, targetting .NET 4 full profile.

现在,当我建立我的可执行的项目之一,它的输出是建立在斌/ 86 /释放目录。当我建立一个其他的可执行的项目,它的输出是建立在斌/释放,没有86子文件夹

Now when I build one of my executable projects, its output is built in "bin/x86/Release" directory. When I build one other executable project, its output is built in "bin/Release", without the "x86" subfolder.

这是为什么 - 乍看之下 - 不一致?

Why is this - at first glance - inconsistency?

更新

我需要修复它,因为我想要成功的构建之后运行一些脚本,并他们会期望在一个一致的文件夹结构的输出。

I need to fix it because I'd like to run some scripts after succesful builds, and they will expect the output in a consistent folder structure.

推荐答案

如果你去项目>属性>生成在Visual Studio中,你会看到你的目标平台(其他设置中)。

If you go to Project > Properties > Build in Visual Studio you will see your target platform (among other settings).

如果您的构建目标是32位(x86)的,或任何CPU

This folder is created if your build target is 32bit (X86), or 'Any CPU'

最后,检查你的'输出'文件夹:项目>属性>输出路径

Finally, check your 'Output' Folder: Projects > Properties > Output Path

这篇关于什么时候和为什么Visual Studio创建的" 86"子文件夹内"箱位QUOT;后建?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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