Re: Visual Studio 2008 released

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



"Jon Skeet [C# MVP]" <skeet@xxxxxxxxx> wrote in message news:MPG.21ad3da641dfb1d9616@xxxxxxxxxxxxxxxxxxxxxxx
Willy Denoyette [MVP] <willy.denoyette@xxxxxxxxxx> wrote:
> 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?

I open a 2008 solution, and add existing 2005 projects. Seems to work
fine.


When you add a VS2005 project file to a VS2008 Solution, the VS Conversion Wizard comes up, right? (it does for me).
At that moment the project file gets "partly" converted to the VS2008 format, basically the csprj file remains a VS2005 csprj file.. "ToolsVersion="3.5"" is added in the Project Element, however, this doesn't prevent the file to be loaded and run correctly in VS2005.
Changing " ...ToolsVersion="3.5" into ToolsVersion="2.0" causes VS2008 to use C# 2, and VS2005 is also happy with this as he doesn't know about this anyway.


Willy.

.



Relevant Pages

  • Re: Visual Studio 2008 released
    ... When you add a VS2005 project file to a VS2008 Solution, the VS Conversion ... basically the csprj file remains a VS2005 csprj file.. ... changing ToolsVersion to 2.0 doesn't stop it from compiling on ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Upgrade vb6 code in vb 2008
    ... project file in vb2005 a conversion wizard starts up and guides you ... The upgrade wizard should also work in VB 2008. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Upgrade vb6 code in vb 2008
    ... If you open a vb6 project file in vb2005 a conversion wizard starts up and guides you through it. ... If you do the same in vb2008 it just opens the project file as a page of text. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Feedback required on VS2005 device debugger (managed and Native)+native runtime, MFC,native IDE
    ... Do the conversion, close Studio, open the project file with notepad and ... change the target framework, reopen with Studio. ... >I have had similar project conversion woes. ... > If it's not possible to do this automatically, then it definitely needs ...
    (microsoft.public.pocketpc.developer)
  • Trouble converting VB6 project to VB2005
    ... which starts the conversion wizard. ... Unable to read the project file 'MyProject.vbproj'. ... I don't have any BETA stuff on my computer and never did. ...
    (microsoft.public.dotnet.languages.vb)