• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 439
  • Last Modified:

How do I compile a 32-bit application on a 64-bit machine in Visual STudio 2008 aspx/c#?

I have been developing on a Vista 32-bit at both work and home for years and just replaced my laptop at home with a 64-bit laptop. I am now getting errors when publishing my websites that refer to assembly errors and say I should compile first.

From what I can gather, this is due to me compiling on both processor versions. I need to make the website so that both 32-bit and 64-bit processors can render it. I also need to be able to develop on either machine.

Is the solution to configure Visual Studio on my 64-bit machine to compile for 32-bit?
How would I do this?

  • 2
2 Solutions
Minh Võ CôngCommented:
With Visual Studio you are able to target what platform. By default it will run on "Any CPU" (read 32 or 64 bit), but you can specify if you desire. Look under Project>Properties>Build and look for the "Platform Target" property.

<link to competing site removed - GaryC132>
edison04Author Commented:
This situation resolved itself. I didn't have to do anything to it. Based on expert advice, I don't know why it was complaining or why it stopped.

Still giving points because of valuable info moving forward in similar situations.

edison04Author Commented:
The issue resolved itself.
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.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now