Udostępnij za pośrednictwem


UWP Build error: Cannot find type System.ComponentModel.TypeConverter in module System.dll

Within VS 2015 I got the following error in a UWP project and didn't find the error message that helpful:

Cannot find type System.ComponentModel.TypeConverter in module System.dll

In the error window displayed this:

error list

The output window showed this:

output window

C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v14.0\8.2\Microsoft.Windows.UI.Xaml.Common.targets(352,5): Xaml Internal Error error WMC9999: Cannot find type System.ComponentModel.TypeConverter in module System.dll.

Resolution

The actual error was caused by a rogue reference in the project references to System.Configuration:

references

Once this was removed I was on my way, hopefully this might help others with a similar issue.