Reputation: 487
The design Page for Windows Phone 8 Application devlopment in Visual Studio 2012 in Windows 8 doesn't load i.e. the file MainPage.xaml just shows the following error:
An Unhandled Exception Has Occured
System.TypeInitializationException .......
It won't reload either by clicking on Reload The Designer
Upvotes: 1
Views: 1455
Reputation: 79
I'm was facing this same issue last week, and fortunately in my case (i hope yours too) the problem was solved when renew my free windows 8 developer license. To do so, run power shell as administrator and execute Show-WindowsDeveloperLicenseRegistration, this will start the license renovation process. When completed, click the Reload Again button on the VS2012 designer surface, and the designer should successfully load.
Upvotes: 1