Solved

Visual Studio 2008 and Vista 64-bit

Posted on 2008-10-17
3
4,004 Views
Last Modified: 2013-11-26
I am looking at upgrading our development machine to Windows Vista Ultimate 64-bit.  Is Visual Studio 2008 compatable with Vista 2008 and what version of the .net framework does it use.  I have heard that the 64-bit version of Vista has problems with .net famework 3.5 and Visual Studio 2008 uses 3.5.  In this process I will be upgrading from Visual Studio 2003 to Visual Studio 2008 and I don't want to run into problems where I compile programs on the 64-bit machine that can't be run on our network on 32-bit machines.  I'm assuiming there is a way to build the programs on the 64-bit machine and compile them as 32-bit?

This is all confusing to me so I am looking for some to help hash it out.  Thanks

Thanks
0
Comment
Question by:toddpotter
  • 2
3 Comments
 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 22746095
>>Is Visual Studio 2008 compatable with Vista 2008 and what version of the .net framework does it use.
yes, absolutely, VS2008 is designed to work with all Vista versions.
When you install VS, it will install the 64-bit version of all the frameworks 2.0/3.0/3.5

>> will be upgrading from Visual Studio 2003 to Visual Studio 2008 and I don't want to run into problems where I compile programs on the 64-bit machine
this is unrelated, the compiled product has no relation with the OS where you compiled. Also, a .net assembly is not tied to any specific processor, this is done at runtime with the JIT compiler.
0
 

Author Comment

by:toddpotter
ID: 22746331
I know when you create a project you have the option of 2.0, 3.0 or 3.5 so when converting from 2003 which one does it use...or am I looking at it the wrong way

can you elaborate a little on how it is done at runtime with the JIT compiler?  I am assuming that if I compile an app as 64-bit and try to run it on a 32-bit it won't run.  Does 2008 compile apps by default as 64-bit if I install the 64-bit version?  Or does it compile them as 32-bit?
0
 
LVL 55

Accepted Solution

by:
Jaime Olivares earned 500 total points
ID: 22749775
>>I know when you create a project you have the option of 2.0, 3.0 or 3.5 so when converting from 2003 which one does it use...or am I looking at it the wrong way
Never tried with VS2008, just 2005, but I think it is converted to 3.5, which implies to use 2.0 also (because 3.5 is just an extension to 2.0)

>>can you elaborate a little on how it is done at runtime with the JIT compiler?  I am assuming that if I compile an app as 64-bit and try to run it on a 32-bit it won't run.  Does 2008 compile apps by default as 64-bit if I install the 64-bit version?  Or does it compile them as 32-bit?
.net assemblies are not fully compiled, them are compiled into an intermediate language (MSIL). When you try to run your app into some specific machine, it is finally compiled by the JIT compiler of the proper .net framework you have installed in your machine. So, it always will work without problems.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
DataGridView Events ? 3 38
VB.net/WinForms: adjust Screen Resolution 6 44
How to tell the version of visual studio used for a certain project. 3 24
Server Error 11 48
Summary Displaying images in RichTextBox is a common requirement with limited solutions available. Pasting through clipboard or embedding into RTF content only support static images.  This article describes how to insert Windows control objects int…
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…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

863 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

21 Experts available now in Live!

Get 1:1 Help Now