C# - Visual Studio - 分离的输出文件夹中的32位和64位DLL

问题描述 投票:0回答:1

我有一个c#应用程序,我希望它有32和64位版本。我使用InnoSetup来创建安装程序,32位和64位exes都在同一个文件夹中。在我的项目中,我需要引用具有32位和64位版本的dll,并将其放在单独的输出文件夹(x86 / x64)中。是否可以使用Visual Studio进行创建?

c# visual-studio dll
1个回答
-1
投票

1.)打开“配置管理器”:

Configuration Manager

2.)选择“<New ...>”创建新配置:

enter image description here

3.)从现有配置中为其命名并复制设置:

enter image description here

4.)选择平台或添加它(“<New ...>”)

enter image description here

5.)从现有平台复制设置:

enter image description here

现在,您可以更改每个配置的项目设置,只需更改“构建”选项卡中的路径即可。

© www.soinside.com 2019 - 2024. All rights reserved.