问题
I am creating a new project that requires 4 or 5 forms that have already been created in previous projects.
I added them by right clicking on the project -> add existing -> browse to form and add Form.cs, form.Designer.cs, and Form.resx
I went in and changed the namespace on the form.
Now when I try to run the project in debug mode, IntelliTrace crashes.
The program opens, but takes like 5 minutes to stop "Running" in VS after I close it.
I'm 95% sure the only thing that can be the cause of this is my adding the forms to the project. What have I done wrong here?
EDIT : When I try to open the added forms, they won't open. There is no error or anything, they just won't open.
When I debug IntelliTrace
StackOverFlow Exception was unahndled
{Cannot evaluate expression because the current thread is in a stack overflow state.}
回答1:
You may have a bad setting somewhere.
This will reset all your VS settings:
devenv /ResetSettings
来源:https://stackoverflow.com/questions/11509989/add-existing-form-to-project-causes-intellitrace-to-crash