Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / March 2008

Tip: Looking for answers? Try searching our database.

Importing forms from vs2005 > vs2008 manually. How do i make vs2008 recognise them as forms?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Claire - 13 Mar 2008 15:22 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 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


Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.