Book "Pro ADO.NET with VB.Net 1.1" Sample Code Problem

B

Bruce A. Julseth

I cannot open the sample code for the book "Pro ADO.NET with VB.Net 1.1." I
get a message:

"Unable to read the project file "WinSample.vbproj'. The project
'WinSample.vbproj' was created with a newer version of Visual Studio which
is incompatible with your version. You can only open this project with newer
versions of Visual Studio."

I have VS.NET 2002 Version 7.0.9955. On the dialog, "About Microsoft
Development Environment", it also lists .NET Framework 1.0. Version
1.0.3705, but I do have .NET Framework 1.1 installed along with 1.1 Hotfix
(KB886903).

Can I fix this problem? If so, how?

Thanks...
 
N

Norman Yuan

VS.NET2002 cannot open Solution/Project created by VS.NET2003. What you
could do is to create blank solution/project with your VS.NET2002, copy
source code files to your project and add them into the project. The code
may need some fix if some features of .NET 1.1 are used, which are not in
..NET1.0. Note, even you have .NET 1.1 installed, VS.NET only works with 1.0.
 
E

Elton W

Hi

Just open WinSample.vbproj using notepad and change from

SchemaVersion = "2.0"

to

SchemaVersion = "1.0"

Then you can open the project by VS.NET 2002.

HTH

Elton Wang
(e-mail address removed)
 
N

Norman Yuan

But VS.NET2002 still uses .NET1.0, doesn't it?

Elton W said:
Hi

Just open WinSample.vbproj using notepad and change from

SchemaVersion = "2.0"

to

SchemaVersion = "1.0"

Then you can open the project by VS.NET 2002.

HTH

Elton Wang
(e-mail address removed)
 
G

Guest

Reset reference links is not big deal. You can either use VS to change them
or manfully change HintPath in .csproj/.vbproj.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top