在VS2008中,我在哪里为(托管)C ++项目配置“平台目标”?

时间:2022-05-31 05:34:58

In VS2008, I can specify that a C# assembly should target only the x86 platform by going to the project properties, clicking the "Build" section, and then setting the "Platform target" box.

在VS2008中,我可以通过转到项目属性,单击“构建”部分,然后设置“平台目标”框来指定C#程序集应仅针对x86平台。

What is the equivalent for an assembly written in C++?

用C ++编写的程序集的等价物是什么?

1 个解决方案

#1


You have to create a new platform:

您必须创建一个新平台:

  • Select the Build menu.
  • 选择“生成”菜单。

  • Select Configuration Manager... on the menu. The Configuration Manager dialog box opens.
  • 在菜单上选择Configuration Manager ....将打开“配置管理器”对话框。

  • Drop down Active solution platform.
  • 下载Active Solution平台。

  • Select <New...>. Then New Solution Platform dialog box opens.
  • 选择 <新建...> 。然后打开New Solution Platform对话框。

  • Drop down Type or select the new platform.
  • 下拉键入或选择新平台。

  • Select x64 from the list.
  • 从列表中选择x64。

  • Click OK in the dialog box to create the new platform.
  • 在对话框中单击“确定”以创建新平台。

#1


You have to create a new platform:

您必须创建一个新平台:

  • Select the Build menu.
  • 选择“生成”菜单。

  • Select Configuration Manager... on the menu. The Configuration Manager dialog box opens.
  • 在菜单上选择Configuration Manager ....将打开“配置管理器”对话框。

  • Drop down Active solution platform.
  • 下载Active Solution平台。

  • Select <New...>. Then New Solution Platform dialog box opens.
  • 选择 <新建...> 。然后打开New Solution Platform对话框。

  • Drop down Type or select the new platform.
  • 下拉键入或选择新平台。

  • Select x64 from the list.
  • 从列表中选择x64。

  • Click OK in the dialog box to create the new platform.
  • 在对话框中单击“确定”以创建新平台。