Skip to main content
Home Forums Silverlight Programming Visual Studio & Silverlight Development Tools Referenced customcontrol assembly not found in XAML
5 replies. Latest Post by Yi-Lun Luo - MSFT on October 24, 2008.
(0)
Patman666
Member
0 points
3 Posts
10-22-2008 9:17 AM |
I have referenced a silverlight class library in a silverlight application. If I include the xmlns attribute (xmlns:vslider="clr-namespace:VideoSliderControl;assembly=VideoSliderControl") and add the customcontrol (VideoSlider in VideoSliderControl namespace) to my Page.xaml, Visual Studio underlines xmlns:... and vslider:VideoSlider with a blue line and displays the error:Assembly 'VideoSliderControl' was not found. Verify that you are not missing an assembly reference. Also, verify that your project and all referenced assemblies have been built.andThe type 'vslider:VideoSlider' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built.Also the designer doesn't display the page. If I open the project in Blend everthing displays fine. I can build the project just fine and it runs ok.
HarshBar...
Star
9908 points
1,719 Posts
10-22-2008 9:35 AM |
Hi,
You have to add reference of that assembly in your project...
10-22-2008 10:11 AM |
Yes, I added the reference to my project...I tested the project on another PC and it works correctly on that PC.
10-22-2008 11:52 AM |
hI,
oK I GOT.
i was under different impression first time...
Actually Visual Studio Designer is having many limitations Presently and this i think one of those.Due to limitation of that Designer only we are not able to see that Control.
10-22-2008 1:03 PM |
I get this error in XAML view...And it is working (designer and XAML view) on another PC with Visual Studio 2008 installed.
Yi-Lun L...
All-Star
25052 points
2,747 Posts
10-24-2008 5:55 AM |
Hello, sometimes Visual Studio's Designer does report fake alerts. As long as your application runs fine, you can just ignore them.