|
-
Sep 26th, 2005, 11:42 PM
#1
Thread Starter
Lively Member
[RESOLVED] Newbie Question re: VB.Net
I'm currently running VB.Net Standard Edition (2002 I believe?), and when I try to open a project/solution, I get the following error -
Unable to read the project file "xxxxx.vbproj". The project
"xxxxx.vbproj" was created with a newer version of Visual Studio
which in incompatible with your version. You can only open this project
with newer versions of Visual Studio.
Could this be because the file I'm trying to open was created by VB.Net 2003? If so, are there any ways to fix this problem without having to purchase the 2003 version?
Thanks in advance.
-
Sep 26th, 2005, 11:52 PM
#2
Re: Newbie Question re: VB.Net
I believe you can edit the solution and project files manually. They are plain text files so they can be opened and edited in Notepad. That may be a little risky if you aren't sure what you're doing though. The alternative would be to create a new project and use "Add Existing Item" to import the files from the old project. Be aware that if the project was created with .NET 1.1 specific features then it will not run on version 1.0 of the Framework, which VS.NET 2002 targets.
-
Sep 27th, 2005, 12:07 AM
#3
Re: Newbie Question re: VB.Net
Check out this link, supposedly this little app will convert 2002 to 2003 or 2003 to 2002, you have to "sign up" first to download the app.
Link
"Imagination is more important than knowledge..."
Albert Einstein
-----------------------------------------------
If my reply helped you then you really were lost, but I still took the time to help, please rate it anyway
-
Sep 27th, 2005, 12:07 AM
#4
Thread Starter
Lively Member
Re: Newbie Question re: VB.Net
The Add Existing Item method works - thanks!
Now comes my second question... I created a new project, add existing item (the proj I was having problems opening in VB.Net 2002), and when I try to run the program, it keeps running the blank project I started rather than the project I added as existing item. What am I doing wrong?
Thanks again.
-
Sep 27th, 2005, 12:13 AM
#5
Re: Newbie Question re: VB.Net
Probably need to change which form is the start up form. Do this by right clicking on your project (not the solution) in the solution explorer and selecting properties, then change the startup object to the proper form.
"Imagination is more important than knowledge..."
Albert Einstein
-----------------------------------------------
If my reply helped you then you really were lost, but I still took the time to help, please rate it anyway
-
Sep 27th, 2005, 12:16 AM
#6
Re: Newbie Question re: VB.Net
So you've created a new project and used Add Existing Item to import each individual code file from the old project to that new project, not the solution? Once you've done that, you would have to delete the Form1 class file that would have been created by default and then specify a new startup object, that being the main form or module or whatever of the old project.
-
Sep 27th, 2005, 12:17 AM
#7
Thread Starter
Lively Member
Re: Newbie Question re: VB.Net
Wow, thanks for the quick help everyone! That worked!!!
-
Sep 27th, 2005, 12:18 AM
#8
Thread Starter
Lively Member
Re: Newbie Question re: VB.Net
 Originally Posted by jmcilhinney
So you've created a new project and used Add Existing Item to import each individual code file from the old project to that new project, not the solution? Once you've done that, you would have to delete the Form1 class file that would have been created by default and then specify a new startup object, that being the main form or module or whatever of the old project.
Thanks jmcilhinney, I just tried what nothingofvalue suggested and it worked! Thanks for your prompt assistance
-
Sep 27th, 2005, 12:20 AM
#9
Re: [RESOLVED] Newbie Question re: VB.Net
You should still get rid of any form that is not being used as it is worthless and will only take up space. Also, please mark your post as resolved at the top of the page under the "Thread Tools"
Good Luck
"Imagination is more important than knowledge..."
Albert Einstein
-----------------------------------------------
If my reply helped you then you really were lost, but I still took the time to help, please rate it anyway
-
Sep 27th, 2005, 12:21 AM
#10
Re: [RESOLVED] Newbie Question re: VB.Net
"Imagination is more important than knowledge..."
Albert Einstein
-----------------------------------------------
If my reply helped you then you really were lost, but I still took the time to help, please rate it anyway
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|