I believe I seemed to have corrupted the install for my vs.net and was
wondering how to fix without going through the long process of re-installing
the .Net IDE.
When I add a new form to any type of VB project, I get an Unspecified error
exception. After debugging the wizard for the VB.Net WinForm default.js
file, I found that the exception gets thrown in the following code:
[C:\Program Files\Microsoft Visual Studio .NET
2003\Vb7\VBWizards\WinForm\Scripts\1033\default.js]
~line 20ish
var VSProject = selProj.Object;
wizard.YesNoAlert("VSProject: " + (selProj.Object));
var refs = VSProject.References; <-- Exception gets thrown here!
var ref;
ref = refs.Add("System");
ref = refs.Add("System.Data");
ref = refs.Add("System.Drawing");
ref = refs.Add("System.Windows.Forms");
So, I did some more research and found the References property is throwing
the exception of "library not registered" when I do a (?
VSProject.References) in the command window during the debugging session.
Does anyone know how to re-reference the References library? I was going
through the registry and didn't back it up before making some deletion
changes (manual) ... bah, always bites me back when I do something like that
w/o backin' up :P
Thanks in advance,
Mythran
Mythran - 07 Dec 2004 21:12 GMT
>I believe I seemed to have corrupted the install for my vs.net and was
>wondering how to fix without going through the long process of
[quoted text clipped - 29 lines]
>
> Mythran
Just did a full-reinstall and it fixed it...
Mythran