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

  • Thread starter Thread starter Bruce A. Julseth
  • Start date Start date
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...
 
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.
 
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)
 
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)
 
Reset reference links is not big deal. You can either use VS to change them
or manfully change HintPath in .csproj/.vbproj.
 
Back
Top