Re: Visual Studio 2008 released

Tech-Archive recommends: Fix windows errors by optimizing your registry



"Jon Skeet [C# MVP]" <skeet@xxxxxxxxx> wrote in message news:dc20644e-553f-4e5d-b10b-6b922b9f10c6@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Nov 20, 10:24 am, "Willy Denoyette [MVP]"
<willy.denoye...@xxxxxxxxxx> wrote:
What I'm doing is set the ToolsVersion value to 2.0 in the .csproj file.
...
<Project ToolsVersion="2.0"

this forces the project to be build using the V2 tools (C# 2).
However, this doesn't mean you can share the project between VS2005 and
2005.

So what happens when you open a project like that within 2008?


The project opens builds and runs succesfully using C# 2, basically what happens is that VS picks all tools (like the compiler) from the FrameworkV2 directory. It's not possible to open the project in VS2005 however.

For the book, I've got several projects which I'm using between 2005
and 2008, and it's all working fine.


Hmm..., you don't open a VS2005 solution/project in VS2008 without conversion, do you?

Willy.


.