Im moving an application from VS2005 to VS2008.
Im recreating my projects manually as I've had problems in the past allowing
VS to update my application automatically
I copy the xxx.cs, xxx.designer.cs and xxx.resx files for a form to the new
project directory.
I only add the .cs file to the project and VS2008 automatically picks up the
other 2 files and places them in subnodes in the solution explorer. But, the
icon shown in solution explorer is that for a class/code file and when I
double click on it I dont get my form shown. I only see the code in the cs
file.
If I add all 3 files to the project then a base node is created for each of
the 3 files.
How do I add a form properly please?
Claire - 13 Mar 2008 15:30 GMT
I solved it. I added a new form to the class library and it added all the
missing references the project needed to recognise them as forms.
Thanks anyway.
Jon Skeet [C# MVP] - 13 Mar 2008 15:35 GMT
> Im moving an application from VS2005 to VS2008.
> Im recreating my projects manually as I've had problems in the past allowing
> VS to update my application automatically
I really think it's a good idea to let VS2008 convert it. The changes
between 2005 and 2008 are *much* smaller than between 2003 and 2005.
Why not just try it, and then see the results by a diff with the
version in source control?

Signature
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
World class .NET training in the UK: http://iterativetraining.co.uk