compiling .net 3.5 C# code for X64 machines

I havent tried this yet but is it possible to compile code from my .net 2008 X32 machine and run it on a Vista X64 machine? I am assuming that I only need to install .net framework 3.5 on both the development machine (Windows XP X32) and the client machine (Vista X64)?
The application is a C# windows form.
asukhuAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
grayeConnect With a Mentor Commented:
Yes, you can... and in fact, that's the default    The default "CPU target" for Visual Studio is the "AnyCPU", which means that it runs as a 32-bit app on your 32-bit PC, and automagically runs as a 64-bit app on your 64-bit PCs.
The Vista x64 machine will have two versions of the .Net framework... both the 32-bit and 64-bit get installed side-by-side.   Your 32-bit developement PC will only have the 32-bit framework (which gets automatically installed when you install Visual Studio).
0
 
GuitarRichCommented:
in the build tab of the properties page you can set the target CPU to any, x86 or x64. So it should work ok.
0
 
asukhuAuthor Commented:
ok, thanks guys. I'll try running my code on the machine in a few days.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.