Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Visual Studio 2008 and Vista 64-bit

Posted on 2008-10-17
3
Medium Priority
?
4,028 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 2000 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

Stack Overflow Podcast - Developer Story

Welcome to the Stack Overflow podcast recorded Thursday July 20 at Stack Overflow Headquearters in NYC. Your hosts today are podcast regulars Jay Hanlon, David Fullerton, and Ilana Yitzhaki, plus the quite irregular Matt Sherman (Stack Overflow Engineering Manager extraordinaire)

Question has a verified solution.

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

Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
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…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

662 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