Solved

Migrating from VS2008 x86 to VS2010 x64, what problems can I expect?

Posted on 2010-09-16
4
1,004 Views
Last Modified: 2013-11-29
We have become very tired of the memory limitations of the x86 platform for development.  We currently use Vista 32bit,  with 4GB RAM, but still I have memory problems with VS2008, and VS2010 runs out of memory even faster.  So we want to switch up to using Windows 7 x64, with VS2010.

We have already migrated the applications from VS2008 to VS2010, and that was relatively painless.  However, I am concerned about building our 32 bit apps on the 64 bit platform.  I briefly tried this once before with Vista x64 and VS2008 x64, but had some build problems. So gave up and reverted to x86, and the memory limitations.

I am sure there are many people out there using Windows 7 64, and VS2010 64 for developeing 32 bit apps.  I just wondered if any of you guys cold give me some tips, things I must do, things I should not do, etc. To make this transistion as painless as possible.


0
Comment
Question by:townsma
[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
  • 2
  • 2
4 Comments
 
LVL 10

Expert Comment

by:joriszwaenepoel
ID: 33699130
Usually, when developing .NET applications, you build them for "Any CPU" which means it will run as a 32-bit application on a 32-bit OS, and as a 64-bit application on a 64-bit OS.  The version of the OS where you build the .NET application does not matter.

Only when you are referenceing specific 32-bit dll's (third party) you have to build your app as a 32-bits app.  This is still possible if you run Visual Studio on a 64 bits OS.  
0
 
LVL 6

Author Comment

by:townsma
ID: 33699190
Thanks for the reply.   I understand we usualy build with Any CPU, and that this will build 32 and 64 bit versions.  

Can I ask if you currently build 32 bit apps on a 64 bit platform?  The reason I ask, is I understand the theory, however, when dealing with Microsoft platforms, as I have found to my disappointment, the theory and practice are seldom the same, and usually some workarounds etc. are required to make it work.

Our applications do use several 3rd party assemblies, which I assume are all 32 bit, so if this is the case, and the theory holds true, then I should just need to set all my assemblies to build for the 32 bit platform only, and all will be well with the world, and I will not develop any more grey hairs...
0
 
LVL 10

Accepted Solution

by:
joriszwaenepoel earned 500 total points
ID: 33699250
I still develop with VS2008, but on a 64-bits OS.
In a recent project, the app needed to be a 32-bits app, because a third party dll that I needed to reference was 32-bits, so I modified the settings to build only for x86, and it worked perfectly.

I haven't tried this with VS2010, but I would expect a lot of problems here.  A lot of developers are using 64-bits machines today, and I haven't heard anyone complain about this kind of problems.
0
 
LVL 6

Author Closing Comment

by:townsma
ID: 33714699
I have awarded a B as I was hoping for more insight into the real issues I might face, ratehr that the text book answer which I had already obtained.

But thanks for the reply.
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
Sometimes clients can lose connectivity with the Lotus Notes Domino Server, but there's not always an obvious answer as to why it happens.   Read this article to follow one of the first experiences I had with Lotus Notes on a client's machine, my…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

622 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