Symptoms
When you run a Windows application project that indirectly references the Microsoft.VisualBasic.Compatibility library from Microsoft Visual Studio .NET 2002, the reference lookup fails, and you may receive the following error message:

An unhandled exception of type ‘System.IO.FileNotFoundException’ occurred in system.windows.forms.dll
Additional information: File or assembly name Microsoft.VisualBasic.Compatibility, or one of its dependencies, was not found.
Resolution
To work around the problem, follow these steps: Create an application configuration file that is named App.config for the MyRTMClientApp.exe Windows application project that you create in step 3 of the “More Information” section.
For additional information about how to add the App.config file to the Windows application project, click the following article number to view the article in the Microsoft Knowledge Base:
822752?(http://support.microsoft.com/kb/822752/)PRB: Application configuration file is deleted when you build the solutionAdd the following code to the App.config file:

<?xml version =”1.0″?><configuration><startup><supportedRuntime version=”v1.1.4322″ safemode=”true”/><requiredRuntime version=”v1.1.4322″ safemode=”true”/></startup><runtime><assemblyBinding xmlns=”urn:schemas-microsoft-com:asm.v1″><dependentAssembly><assemblyIdentity name=”Microsoft.VisualBasic.Compatibility” publicKeyToken=”b03f5f7f11d50a3a” culture=”neutral” /><bindingRedirect oldVersion=”7.0.3300.0″ newVersion=”7.0.5000.0″/></dependentAssembly></assemblyBinding></runtime></configuration>Double-click MyRTMClientApp.exe to run the Windows application project.