[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

vb.net application missing MyProject content &

Posted on 2012-08-17
2
Medium Priority
?
518 Views
Last Modified: 2012-08-20
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?
0
Comment
Question by:dkim18
2 Comments
 
LVL 40

Accepted Solution

by:
Jacques Bourgeois (James Burger) earned 2000 total points
ID: 38307140
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.
0
 

Author Closing Comment

by:dkim18
ID: 38313752
THanks.
I am going to try to import into a new project.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It seems a simple enough task, yet I see repeated questions asking how to do it: how to pass data between two forms. In this article, I will show you the different mechanisms available for you to do just that. This article is directed towards the .N…
In real business world data are crucial and sometimes data are shared among different information systems. Hence, an agreeable file transfer protocol need to be established.
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question