Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Missing reference while Converting VS2008 project to VS2010 project

When i converted a VS2008 project to 2010 it shows an error message

The type name 'IComponentConnector' could not be found in the namespace 'System.Windows.Markup'. This type has been forwarded to assembly 'System.Xaml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' Consider adding a reference to that assembly

and it was build when we add a reference System.Xaml. What would be the reason for need to add additional reference?

like image 578
bijesh Avatar asked Dec 19 '25 05:12

bijesh


1 Answers

In .Net 3.5/3,0, IComponentConnector (namespace System.Windows.Markup) was part of WindowsBase.dll and it was moved in System.Xaml in .net 4.0 onwards.

It seems you are upgrading your project framework 3.5 to 4.0

like image 107
Romil Kumar Jain Avatar answered Dec 21 '25 22:12

Romil Kumar Jain



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!