Friday, November 19, 2021

Update WPF Interaction Triggers in from .Net Framework 4.8 to .Net 5

Be The First To Comment

 

When migrating the Visual Studio projects from .Net Framework 4.8 to .Net 5, you may encounter  in the following error regarding Interaction.Triggers.

 Error      XDG0008             The name "Interaction" does not exist in the namespace "http://schemas.microsoft.com/xaml/behaviors".

 The one solution to fix it is to install “Microsoft.Xaml.Behaviors.Wpf” from Nuget

And update the namespace ( if needed)

xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"

to

             xmlns:i="http://schemas.microsoft.com/xaml/behaviors"

 

© 2011 GIS and Remote Sensing Tools, Tips and more .. ToS | Privacy Policy | Sitemap

About Me