This article was previously published under Q313504
This article has been archived. It is offered "as is" and will no longer be updated.
If more than one version of the .NET Framework Redistributable Package is installed on your computer, and then you remove one version, you may receive the following error message when you try to run a project:
"Error while trying to run project: Unable to start debugging.
Unable to start program 'path.exe name'
The debugger is not properly installed. Run setup to install or repair the debugger."
This problem occurs because the debugger is not left in a working state after you remove a .NET Framework Redistributable Package.
To resolve this problem, repair the .NET Framework redistributable installation by typing one of the following at a command prompt:
Note If you download the .NET Framework redistributable from the Microsoft Developer Network (MSDN) Web site, the DotNetFX.exe file is wrapped in Dotnetredist.exe. Type the following at a command prompt to extract the file:
Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.This bug was corrected in Visual Studio .NET (2003), Visual C++ .NET (2003), Visual Basic .NET (2003), Visual C# .NET (2003), Microsoft Visual J# .NET (2003), and the .NET Framework 1.1.
The .NET Framework Redistributable Package (DotNetFX.exe) is available as a stand-alone executable file that contains the run time elements of the .NET Framework.
This issue does not occur with the first release of the .NET Framework Redistributable Package unless you do not remove a previously installed Beta version of the software.
This issue can occur when an updated version of the .NET Redistributable Installer becomes available.
For more information about how to repair the .NET Framework Redistributable Package, click the following article number to view the article in the Microsoft Knowledge Base:
306160 How to repair an existing installation of the .NET Framework SDK
For information about where to obtain the .NET Redistributable Package and about how to distribute .NET applications with this package, see the following MSDN article:
Microsoft Visual Studio .NET 2002 Enterprise Architect, Microsoft Visual Studio .NET 2002 Enterprise Developer, Microsoft Visual Studio .NET 2002 Professional Edition, Microsoft Visual Studio .NET 2002 Academic Edition, Microsoft Visual C++ .NET 2002 Standard Edition, Microsoft Visual Basic .NET 2002 Standard Edition, Microsoft Visual C# .NET 2002 Standard Edition, Microsoft .NET Framework 1.0, Microsoft Visual J# .NET 2003 Standard Edition