Solved

Visual Studio 2008 and Vista 64-bit

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
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…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

856 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