简体   繁体   中英

ElementHost hangs up, when start from Visual Studio 2017 in debug. When start it without VS no problems

Windows Forms with ElementHost hangs up, when start from Visual Studio 2017 in debug. When start it without VS no problems (same debug, like casual exe). Even empty ElementHost hangs up. Programm totally hangs up.

Also, in test project with only form with ElementHost no hangs up. Sometimes ElementHost not show any content, sometimes all works well for ~1 seconds.

Problem is solved. I had disabled "Enable UI Debugging Tools for XAML" in Debug/General in Debug/Options... I interests, why it works? In small WinForms this glitch doesn't happen with any options

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM