bblanchon / WpfBindingErrors

:boom: Turn WPF Binding errors into exception
MIT License
77 stars 17 forks source link

Not working in PCL/UWP #4

Open neoncube2 opened 7 years ago

neoncube2 commented 7 years ago

Hello,

I tried to install the Nuget package for this in a PCL and in a UWP project, but was unable to in both cases.

Here's the Output screen for when I tried to install the Nuget package in the PCL.

Attempting to gather dependency information for package 'WpfBindingErrors.1.0.0' with respect to project 'ShowValue', targeting '.NETPortable,Version=v4.5,Profile=Profile259' Attempting to resolve dependencies for package 'WpfBindingErrors.1.0.0' with DependencyBehavior 'Lowest' Resolving actions to install package 'WpfBindingErrors.1.0.0' Resolved actions to install package 'WpfBindingErrors.1.0.0' Install failed. Rolling back... Package 'WpfBindingErrors.1.0.0' does not exist in project 'ShowValue' Package 'WpfBindingErrors.1.0.0' does not exist in folder 'C:\Users\elibl\Documents\Visual Studio 2015\Projects\svcapture3-git\packages' Could not install package 'WpfBindingErrors 1.0.0'. You are trying to install this package into a project that targets '.NETPortable,Version=v4.5,Profile=Profile259', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author. ========== Finished ==========

And for the UWP project:

Restoring packages for 'SVCapture3.UWP'. Restoring packages for C:\Users\elibl\Documents\Visual Studio 2015\Projects\svcapture3-git\SVCapture3\SVCapture3.UWP\project.json... WpfBindingErrors 1.0.0 is not compatible with UAP,Version=v10.0. Some packages are not compatible with UAP,Version=v10.0. WpfBindingErrors 1.0.0 is not compatible with UAP,Version=v10.0 (win10-arm). Some packages are not compatible with UAP,Version=v10.0 (win10-arm). WpfBindingErrors 1.0.0 is not compatible with UAP,Version=v10.0 (win10-arm-aot). Some packages are not compatible with UAP,Version=v10.0 (win10-arm-aot). WpfBindingErrors 1.0.0 is not compatible with UAP,Version=v10.0 (win10-x64). Some packages are not compatible with UAP,Version=v10.0 (win10-x64). WpfBindingErrors 1.0.0 is not compatible with UAP,Version=v10.0 (win10-x64-aot). Some packages are not compatible with UAP,Version=v10.0 (win10-x64-aot). WpfBindingErrors 1.0.0 is not compatible with UAP,Version=v10.0 (win10-x86). Some packages are not compatible with UAP,Version=v10.0 (win10-x86). WpfBindingErrors 1.0.0 is not compatible with UAP,Version=v10.0 (win10-x86-aot). Some packages are not compatible with UAP,Version=v10.0 (win10-x86-aot). Package restore failed for 'SVCapture3.UWP'. Package restore failed. Rolling back package changes for 'SVCapture3.UWP'. ========== Finished ==========

Any chance that you would be interested in making this project work in PCL's/UWP, too? :)

neoncube2 commented 7 years ago

Never mind -- for Windows 10, it appears that you can use {x:Bind} to accomplish similar things.

Would you be okay with adding a note to this project's page about {x:Bind}?

bblanchon commented 4 years ago

@neoncube2, I'm sorry, I missed your message two years ago. Is this still relevant? What should I include in the README? Could you open a PR?