Home Dashboard Directory Help
Search

Silverlight 2 RTW - Attirbute Name marked as Unknown in VSTS2008 SP1 XAML Code by DonBaechtel


Status: 

Closed
 as External Help for as External


2
0
Sign in
to vote
Type: Bug
ID: 376059
Opened: 10/16/2008 5:50:27 PM
Access Restriction: Public
0
Workaround(s)
view
7
User(s) can reproduce this bug

Description

I have a Silverlight 2 RTW application in VB.Net. I have a UserControl in my project that I have wriiten called MyComboBox that Inheirits UserControl. I have an xmlns:local in my XAML code that references my project assembly. In the following XAML code line, VSTS2008SP1 flags the x:Name as "Unknown attribute Name on Element MyComboBox." According to the Silverlight documentation, a UserControl has an Attribute called Name.

The error flagged in the VS2008 XAML Designer causes the XAML Designer not to show any of the UserControl Design preview.

What is wrong and how do I eliminate the error and get the Designer to Preview my UserControl?

<local:MyComboBox x:Name="Title" Width="200" HorizontalAlignment="Stretch" Grid.Column="1" />
Details
Sign in to post a comment.
Posted by Microsoft on 4/3/2009 at 6:35 PM
Hi Don,

Unfortunately we weren't able to reproduce this issue.

Feel free to reactivate or contact me if you are still seeing it: andremic@microsoft.com

Thanks!
Andre Michaud
Silverlight SDET
Sign in to post a workaround.