I'm trying to create a UserControl in a Class Library and it all works just fine. I can see everything in designer, but when I'm trying to build my solution I get the following error.
The name 'InitializeComponent' does not exist in the current context
And that's it, as it says I don't have that method in my .cs codebehind file. But the thing is whenÃÂ I create a UserControl in a WinFX Windows Application I can build it just fine, so i must be missing something. I tried removing the method call and that let me build it, but whenÃÂ creating a new instance and adding itÃÂ to my Grid nothing happend.ÃÂ
Any idea what I'm doing wrong.
I am somewhat new to the .NET platform ( great idea jumping on the .NET 3.0 wagon then huh ÃÂ ) ButÃÂ I would really like some help on this issue, because I do not have the slightest idea where to go from here.
View Complete Post