Solved

Visual Studio 2008 and Vista 64-bit

Posted on 2008-10-17
3
4,002 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
Comment Utility
>>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
Comment Utility
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
Comment Utility
>>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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
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…
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…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

743 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

16 Experts available now in Live!

Get 1:1 Help Now