vb.net application missing MyProject content &

I have this vb.net application and it looks like it has been converted from the VB to VB.net.
I am opening the solution using vs2010.
I am not able to build them.
I have two projects:
1) Project 1 :
My Project - empty
AssemblyInfo.vb - not in My Project foler

2) Project 2:
My Project only contains app.manifest file
AssemblyInfo.vb - again not in my project folder but under the project

How can clean them up and recreate them if I can?
Who is Participating?
Jacques Bourgeois (James Burger)PresidentCommented:
When AssemblyInfo.vb is under the project instead of MyProject, it usually means that the project's was created in Visual Studio 2002 or 2003. When opening such a project in Visual Studio 2005 or 2008, you are asked to convert to the new format. But even if you do so, the project keeps the old structure, where AssemblyInfo.vb is in the project's direstory and the Form Designer generated code is included in the .vb file instead of being saved in a separate .designer.vb file.

I cannot say what happens when opening those old projects in VS2010. Skipping one version of VS is always cause for pain, skipping two or three versions is probably worse. A few decades of experience have teached me to be wise and not wait 8 years before moving source code between different versions of my programming tools.

My hunch is that somebody tried to upgrade the source code to a newer version of Visual Studio, was surprised by the result, and tried to manually rearrange the files without knowing what he was doing.

I see two ways to solve that problem.

Try to find a backup of the project before it was converted from 2002 or 2003 to a newer version of Visual Studio.

Try to rebuild the projects by creating new projects and importing the source code from the old directories into those new projects.
dkim18Author Commented:
I am going to try to import into a new project.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.