Solved

compiling .net 3.5 C# code for X64 machines

Posted on 2009-05-05
3
584 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 12

Expert Comment

by:GuitarRich
ID: 24302826
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
ID: 24306752
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
ID: 24310617
ok, thanks guys. I'll try running my code on the machine in a few days.
0

Featured Post

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

735 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