Solved

Visual Studio 2008 and Vista 64-bit

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

Ready to get started with anonymous questions?

It's easy! Check out this step-by-step guide for asking an anonymous question on Experts Exchange.

Question has a verified solution.

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

The object model of .Net can be overwhelming at times – so overwhelming that quite trivial tasks often take hours of research. In this case, the task at hand was to populate the datagrid from SQL Server database in Visual Studio 2008 Windows applica…
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…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

632 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