23 August 2012

The name 'xxx' does not exist in the current context

If you encounter the following error message when building a Silverlight project, check the Build Action for your XAML files is set to "Page".
"The name 'xxx' does not exist in the current context"
This problem typically occurs when a XAML file i copied from one project to another, which might change the Build Action to "ApplicationDefinition".

No comments: