FIX: Debugger does not work after you remove the .NET Framework (313504)
The information in this article applies to:
- Microsoft Visual Studio .NET (2002), Enterprise Architect Edition
- Microsoft Visual Studio .NET (2002), Enterprise Developer Edition
- Microsoft Visual Studio .NET (2002), Professional Edition
- Microsoft Visual Studio .NET (2002), Academic Edition
- Microsoft Visual C++ .NET (2002)
- Microsoft Visual Basic .NET (2002)
- Microsoft Visual C# .NET (2002)
- Microsoft .NET Framework 1.0
- Microsoft Visual J# .NET (2002)
This article was previously published under Q313504 SYMPTOMS If you have more than one version of the .NET Framework
Redistributable Package 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." CAUSE The Debugger is not left in a working state after you
remove a .NET Framework Redistributable Package.RESOLUTION To resolve the issue, repair the .NET Framework
redistributable installation by typing one of the following at a command
prompt:
C:\dotnetfx.exe /t:temp /c:"msiexec.exe /fvecms temp\netfx.msi"
-or-
C:\dotnetfx.exe /t:temp /c:"msiexec.exe /i temp\netfx.msi REINSTALLMODE=ALL ReinstallMODE=vomus" 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:
C:\dotnetredist.exe /t:c:\ STATUSMicrosoft has confirmed that this is a bug in the Microsoft
products that are listed at the beginning of this article.
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.
REFERENCES
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:
Modification Type: | Minor | Last Reviewed: | 1/19/2006 |
---|
Keywords: | kbvs2005doesnotapply kbvs2005swept kbtshoot kberrmsg kbvs2002sp1sweep kbfix kbbug KB313504 kbAudDeveloper |
---|
|