Visual Studio reloads when 2 items are present

I have a usercontrol with 2 elementHosts in it. I set the elementHosts' Child property programmatically in the Load () event. The problem is that when I try to add this control to the form, Visual Studio reloads and I have no idea how to overcome this problem.

This issue holds true for VS 2008 and 2010.

+3
visual-studio visual-studio-2010 elementhost


source to share


No one has answered this question yet

Check out similar questions:

1424
How to fix "The breakpoint will not be removed at this time. No symbols have been loaded for this document." warning?
1419
Using Git with Visual Studio
1104
.gitignore for Visual Studio projects and solutions
989
Can you get Visual Studio to run as administrator on Windows 8?
815
Difference between Build Solution, Rebuild Solution and Pure Solution in Visual Studio?
558
Writing to the Visual Studio Output Window
505
Error "LINK: Fatal error LNK1123: Failed to convert to COFF: file is invalid or corrupted" after installing Visual Studio 2012 Release Preview
480
Debugging / loading Visual Studio is very slow
191
Visual Studio 2010 always thinks the project is outdated but nothing has changed
145
Command copy finished with code 4 on creation - restarting Visual Studio resolves it



All Articles
Loading...
X
Show
Funny
Dev
Pics