error - microsoft.visualbasic.compatibility

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Can any of you guru's help me with the following:

When I run a WinForms exe on another machine I get the following error:
System.IO.FileNotFoundException: File or assembly name
Microsoft.VisualBasic.Compatibility, or one of its dependencies, was not
found.

A search of MSDN for this error does not return any useful info

The C:\Windows\Microsoft.Net\Framework\v1.1.4322 folder did not contain
Microsoft.VisualBasic.Compatibility.dll nor
Microsoft.VisualBasic.Compatibility.Data.dll so I copied them in. Got the
same error.
 
Thank you, Sijin, for your quick reply.
I have seen the info this kb incident and tried the techniques recommended
therein. It did not help. I get the same error. I guess the problem is
that:
1. The compatibility DLL's are not installed when the Framework 1.1 is
installed. They are installed on development computers when Visual Studio
2003 is installed.
2. I cannot find any instruction on how to install them when a WinForm exe
is deployed.
3. The XCOPY method of copying the DLL's to the target computer will not fix
the problem, as I have done that.
4. I tried using RegSvr32 to register them but RegSver32 gives an error.

I don't know what else to do other than go thru my code and remove all
references to anything in the compatibilty namespace.
 
Back
Top