Solved

compiling .net 3.5 C# code for X64 machines

Posted on 2009-05-05
3
574 Views
Last Modified: 2013-12-17
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.
0
Comment
Question by:asukhu
3 Comments
 
LVL 12

Expert Comment

by:GuitarRich
Comment Utility
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
 
LVL 41

Accepted Solution

by:
graye earned 250 total points
Comment Utility
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
 

Author Comment

by:asukhu
Comment Utility
ok, thanks guys. I'll try running my code on the machine in a few days.
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now