XAML IntelliSense Issue with VS 2005  
Author Message
brettles





PostPosted: Windows Presentation Foundation (WPF), XAML IntelliSense Issue with VS 2005 Top

Hello,

I have installed everything I can find on .Net 3 including the extensions. I am currently having issues with the XAML Intellisense not working. Not only will it not pick up my own project references eg xmlns:custom="clr-namespace:SDKSample;assembly=SDKSampleLibrary"

<custom: does not work. But also when I try to tap into TextBox.Text for the <Binding> It does not recognise it.

Have I missed something to install

Thanks,

Brett.



Visual Studio 200845  
 
 
ivolved_Mike_Brown





PostPosted: Windows Presentation Foundation (WPF), XAML IntelliSense Issue with VS 2005 Top

References to external assemblies will always show up as errors in the current version of the XAML editor for VS2005 (code named "Cider"). The team has expressed that there will be no further updates of the Cider tools for VS2005 until the next version of VS ("Orcas") releases. You should be able to build and execute even with this "error" showing.

The error you're getting with the TextBox.Text binding sounds different could you give a sample of the code that is giving you an error



 
 
brettles





PostPosted: Windows Presentation Foundation (WPF), XAML IntelliSense Issue with VS 2005 Top

<TextBox Name="StartPriceEntryForm" Grid.Row="2" Grid.Column="1"
  Style="{StaticResource textStyleTextBox}" Margin="8,5,0,5">
 <TextBox.Text>
  <Binding Path="StartPrice" UpdateSourceTrigger="PropertyChanged">
   <Binding.ValidationRules>
    <ExceptionValidationRule />
   </Binding.ValidationRules>
  </Binding>
 </TextBox.Text>
</TextBox>
Basically I can compile and run this, however the intellisense is not picking up that you can have TextBox.Text as a valid tag,hence not allowing my to then find the binding tag and so on. 
 

 
 
ivolved_Mike_Brown





PostPosted: Windows Presentation Foundation (WPF), XAML IntelliSense Issue with VS 2005 Top

I think TextBox.Text is redundant since the content property of the TextBox Class is the Text property. Can you see what happens if you exclude the <TextBox.Text> tag and put the binding directly as a child of the TextBox

Although for consistency sake the TextBox.Text property should be a recognized element of the TextBox, I think this is also a bug within Cider.