System.ComponentModel.TypeDescriptionProvider Error

What Happen

Encounter this error what trying to compile a Windows Phone 8.1 project: “Xaml Internal Error error WMC9999: Cannot find type System.ComponentModel.TypeDescriptionProvider in module System.dll”

What Caused

Playing around with my project by try to install Entity Framework from nuget, then remove them later. The compilation start to fail starting from there.

What Solution

Go to References, look for System.ComponentModel or System.ComponentModel.* references. In my case, it is the System.ComponentModel.DataAnnotations. Remove them and try recompile your project again. It should work now.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s