Skip to main content
Home Forums Silverlight Design Expression Studio why "InitializeComponent();dosen't exist" in June, when build the project made in March ??!!
1 replies. Latest Post by jeetAbhi on June 24, 2008.
(0)
angel_cfc
Member
0 points
1 Posts
06-24-2008 2:19 AM |
The project we made in Blend March preview works well,
but after we installed the new June preview and new SDK in VS 2008,
The project can't be compiled, and the error shows "InitializeComponent(); dosen't exist" ......
Why? How to solve??
Thanks so much!!!!!!!!!!!!!!
jeetAbhi
424 points
81 Posts
06-24-2008 9:14 AM |
The xaml generated .cs file is not being created. Because the build action is set on the XAML file to
“SilverlightPage” instead of “Page”.This is the new build action name.
So right click your page.xaml , choose properties and set Build Action to Page and not
SilverlightPage and build and run.....
This may work for u...MARK AS ANSWER if this post has helped