如何为ASP设置目标平台。网的网站

时间:2022-02-10 07:26:45

I have a website project that needs to load a 32 bit DLL, and I am developing the site on Windows 7 64 bit.

我有一个网站项目需要加载一个32位的DLL,我正在开发Windows 7 64位的网站。

Because of this, one of the 32 bit dlls is failing to load.

因此,32位dll中的一个无法加载。

Normally in a desktop application project I can go to project settings, however I am unable to locate the setting.

通常在桌面应用程序项目中,我可以进入项目设置,但是我无法定位设置。

I am using Visual Studio 2008

我正在使用Visual Studio 2008

1 个解决方案

#1


2  

My idea is that it introduces nothing valuable.

我的想法是它没有带来任何有价值的东西。

Even if you are allowed to compile in 32 bit mode, anyone else can configure it to be run in 64 bit application pool mistakenly. That can be a disaster still.

即使允许您以32位模式编译,其他人也可以将其配置为错误地在64位应用程序池中运行。这可能是一场灾难。

As application pool bitness is always an IIS setting, we should only be careful about the site deployment, not compilation.

由于应用程序池位始终是IIS设置,所以我们应该只注意站点部署,而不是编译。

#1


2  

My idea is that it introduces nothing valuable.

我的想法是它没有带来任何有价值的东西。

Even if you are allowed to compile in 32 bit mode, anyone else can configure it to be run in 64 bit application pool mistakenly. That can be a disaster still.

即使允许您以32位模式编译,其他人也可以将其配置为错误地在64位应用程序池中运行。这可能是一场灾难。

As application pool bitness is always an IIS setting, we should only be careful about the site deployment, not compilation.

由于应用程序池位始终是IIS设置,所以我们应该只注意站点部署,而不是编译。