Add Existing Form To Project Causes Intellitrace To Crash

纵饮孤独 提交于 2019-12-11 08:42:37

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!