Compiling ASP.NET projects on x64

What are the basic steps involved in compiling to x64 for ASP.NET 2.0?

In Configuration Manager I've created a Solution Configuration of "Debug x64" and set the Active Solution Platform to "x64". I've set the Configuration and Platform dropdowns on all the projects to the above and checked the Build checkbox on all of them. A Rebuild All skips all my assembly projects but then attempts to build the website which then fails because its assembly dependencies have not been built.

Why is it skipping my assemblies? Can it not find the 64-bit version of the .NET framework on its own, or do I have to set that somewhere?

Thanks,

Terry

[690 byte] By [TerrySmith] at [2007-12-23]
# 1

For web projects, the location of the web site will determine the processor architecture for the project. The version of ASP.NET you have registered will be used.

Do you get any errors when it skips building the assemblies?

Can you describe your setup a little more? (the architecture of the machine you are developing on, the architecture of the machine you are targeting (if different), what version of visual studio you are using (express, architect, etc), and if you installed the x64 version or not. Thanks!

ChrisRiccio at 2007-8-30 > top of Msdn Tech,.NET Development,64-Bit .NET Framework Development....
# 2

Don't mean to jump in on this and interupt anything....

but I am designing on a x86 Windows XP Pro / visula Studio box, and using a network file copy utility to deploy into a production environment that happens to be a Windows Server 2003 X64 box.

I don't do anything different -- just a file copy and it gets compiled on the fly in x64 mode.

How do I know this? I am trying to use VFPOLEDB to access FoxPro data and the app can't find it (since it is a x86 only provider).

So -- not sure if this sheds any light, but I have a dangling problem about the reverse of yours.... how do I force the app to run in x86 mode regardless of the platform?

DanRibar at 2007-8-30 > top of Msdn Tech,.NET Development,64-Bit .NET Framework Development....
# 3

You can not set what cpu to compile a web application for. You can put IIS in 32 bit mode by running this script.

cscript %SystemDrive%\inetpub\AdminScripts\adsutil.vbs set w3svc/AppPools/Enable32bitAppOnWin64 1

KenTucker at 2007-8-30 > top of Msdn Tech,.NET Development,64-Bit .NET Framework Development....
# 4

Ken -- thanks!

Does this "force" the 32 bit mode, or enable it?

When I finally get rid of the foxpro requirement (it will be a great day, and I'll be buying pints!!!) can I then set this back to the default setting? Maybe with the bit at the end of the line?

DanRibar at 2007-8-30 > top of Msdn Tech,.NET Development,64-Bit .NET Framework Development....
# 5
It puts IIS in 32 bit mode
KenTucker at 2007-8-30 > top of Msdn Tech,.NET Development,64-Bit .NET Framework Development....
# 6

cool.... but can I get it back into x64 mode in the future?

DanRibar at 2007-8-30 > top of Msdn Tech,.NET Development,64-Bit .NET Framework Development....
# 7
Yes same script as before just pass a 0 instead of a 1
KenTucker at 2007-8-30 > top of Msdn Tech,.NET Development,64-Bit .NET Framework Development....

.NET Development

Site Classified