CommandAttribute Class can't be used with .net standard

domas.markevicius's Avatar

domas.markevicius

10 Nov, 2017 02:54 PM

Postsharp.Patterns.Xaml.Redist has a dependency on presentationFramework and that's allright, but I can't use CommandAttribute, which shouldn't have this dependecy. Can you make separate release/give me source code for this aspect?

  1. Support Staff 1 Posted by PostSharp Techn... on 14 Nov, 2017 02:26 PM

    PostSharp Technologies's Avatar

    Hello,

    The use case you have described is currently not supported and can be requested via our User Voice website. I've already created a feature request that you can vote and comment on (https://postsharp.uservoice.com/forums/4949-feature-requests/sugges...).

    Please note that currently we consider source code sharing only with our Enterprise-level customers as shown on the purchase page (https://www.postsharp.net/purchase).

    -alex

  2. 2 Posted by domas.markevici... on 14 Nov, 2017 02:34 PM

    domas.markevicius's Avatar

    That's great \s.

    Looks like I'll have to figure out how to write something like that myself or wait till the day that might never come and this feature will be supported.

  3. Support Staff 3 Posted by PostSharp Techn... on 14 Nov, 2017 03:27 PM

    PostSharp Technologies's Avatar

    Hello,

    I'm sorry that I had to disappoint you with my answer. Unfortunately we don't have capacity to cover every possible use case and have to prioritize.

    Could you please provide a bit more details about your use case? Why do you need to use Postsharp.Patterns.Xaml in .NET Standard library? Do you intend to share your library between WPF, UWP, Xamarin projects? The original use case for Postsharp.Patterns.Xaml is to be used within WPF projects. The insight based on your use case may help us to set the priorities better for the next release.

    -alex

  4. 4 Posted by domas.markevici... on 14 Nov, 2017 03:33 PM

    domas.markevicius's Avatar

    Yes, I plan to reuse some of my view models that were used in wpf+.net 4.5.2 in Xamarin. I understand that some parts of Postsharp.Patterns.Xaml can only work with wpf, but that's not the case for CommandAttribute.

  5. Support Staff 5 Posted by PostSharp Techn... on 19 Nov, 2017 07:55 PM

    PostSharp Technologies's Avatar

    Hello,

    Thank you for the feedback. I'm going to close this discussion for now. We will reply to the feature request on UserVoice once the decision is made.
    (https://postsharp.uservoice.com/forums/4949-feature-requests/sugges...)

    -alex

  6. PostSharp Technologies closed this discussion on 19 Nov, 2017 07:55 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac