SDK Behavior Not available in Vs2017

I've developed a UWP project with Behaviors SDK in VS2015 (Windows 10).

Then I installed VS2017 and tried to run the application without any changes. Unfortunately I am getting below error for Behaviors SDK .

Is there any solution or workaround for this problem?

Link:

Behavior SDK Reference

Error output:

  • Error MSB3774: Could not find SDK "BehaviorsXamlSDKManaged, Version = 12.0"
+3


source to share


1 answer


You should use the Microsoft.Xaml.Behaviors.Uwp.Managed nuget package instead (or Microsoft.Xaml.Behaviors.Uwp.Native if you are developing a C ++ application). The source code for these packages is available on GitHub .



The Behaviors SDK was created for WinRT projects (Windows 8.0 / 8.1). Microsoft.Xaml.Behaviors.Uwp.Managed seems to be the recommended replacement for the SDK Behaviors for UWP apps (even in VS2015).

+5


source







All Articles