Is there a way to resolve false design errors or make the IDE ignore them?

I have a DataGrid from an extended WPF toolkit with multiple columns similar to the following:

<xcdg:Column Title="Description" FieldName="Description" Visible="{Binding Source={x:Reference filterDescription}, Path=IsChecked, Converter={StaticResource FilterVisibility}}" /> 

The problem is that each of these columns shows a design-time error "Link to an object not installed on an object instance" for the Visibility property. Intellisense sees the Visibility property perfectly. Everything is functional, so nothing is really offensive, but I'm up to 26 of these psychological errors, and this sometimes makes me find real pain problems.

Is there a way to get Visual Studio 2012 to shut up about these errors, or somehow convince the IDE that this property is actually intellisense? Is there any special link to the design time?

+7
c # wpf visual-studio-2012 datagrid
source share
1 answer

The prothe value for null. Anyway, the best way to solve such problems is to connect Visual Studio to Visual Studio :) (I mean the debugger).

  • Open the second instance of VS, then open the current project and click Tools -> Attach To Process , then select the XDescProc.exe process.
  • Click Debug -> Exceptions and check the box right after the Common Language Runtime Exceptions in the Thrown column
  • Click the Reload designer button on the first instance of VS.

Good luck

+1
source share

All Articles