简体   繁体   English

在64位系统上将Asp.NET编译为32位

[英]Compile Asp.NET to 32 bit on 64 bit system

I've seen in several places that this can be set in the build options for my project. 我已经在几个地方看到,这可以在我的项目的构建选项中设置。 However when I go to the Property Pages -> Build for my project, it does not have an option for target platform. 但是当我进入Property Pages - > Build for my project时,它没有针对目标平台的选项。 When I go to my solution, most projects have x86 as an option, but the web project only has Any CPU. 当我转到我的解决方案时,大多数项目都有x86作为选项,但Web项目只有Any CPU。

How do I force the web page to build to 32 bit? 如何强制将网页构建为32位?

在此输入图像描述

转到Build - > Configuration Manager,选择platform列中的下拉列表,选择new,选择x86。

转到解决方案级别NOT项目级别,并按照上面的选择/编辑建议进行操作。

我改变它的唯一方法是使用文本编辑器进入.sln文件并直接破解我需要的值(这是有效的)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM