ck_russ
Topic Author
Posts: 27
Joined: 20 May 2020, 14:41

Any reason NuGet package for Noesis.GUI.Extensions targets .NET Framework instead of .NET standard?

27 Aug 2020, 08:26

I ask because it seems all the other Noesis packages target .NET Standard.

This (targeting of .NET framework) causes a slight issue in .NET Core projects that use Noesis.GUI.Extensions since you get the ever ominous little yellow triangle of doom on your dependencies. I believe I could just download the extensions source and rebuild to target .NET Standard myself. However, that requires a bit of upkeep and I'm wondering if there is a reason you all have chosen to not target .NET Standard yourselves.
 
User avatar
sfernandez
Site Admin
Posts: 2984
Joined: 22 Dec 2011, 19:20

Re: Any reason NuGet package for Noesis.GUI.Extensions targets .NET Framework instead of .NET standard?

27 Aug 2020, 19:57

The Noesis.GUI.Extension nuget package is intended for use it only in the Blend WPF project, so you can write xaml that includes Noesis extension properties. This is why it targets .NET Framework. It would not be possible to use .NET Standard in this package because it depends on WPF classes for some extensions, and for the included Theme.

The rest of nuget packages are for the project that uses Noesis to render the UI, and Noesis.GUI package already provides all the extension properties, so there is no need in that project to also include the extensions package.

I hope this makes it clear.
 
ck_russ
Topic Author
Posts: 27
Joined: 20 May 2020, 14:41

Re: Any reason NuGet package for Noesis.GUI.Extensions targets .NET Framework instead of .NET standard?

28 Aug 2020, 08:44

I believe that's clear. .NET Core 3 is required for WPF, but .NET Core 3 only started in .NET Standard 2.1. However, .NET Standard 2.1 also kills off .NET Framework support. So, if you migrated there, you end up with the same problem in reverse and even worse since using .NET Core targeted releases from .NET Framework project is a real PITA, whereas the reverse is mostly moderately inconvenient.

However, since Microsoft is clearly trying to do away with the .NET Framework, might it make sense to add an additional package for Noesis.GUI.Extensions targeting .NET Core 3.0?
 
KeldorKatarn
Posts: 193
Joined: 30 May 2014, 10:26

Re: Any reason NuGet package for Noesis.GUI.Extensions targets .NET Framework instead of .NET standard?

04 May 2021, 06:47

I'm going to revive this. I'm a bit confused myself by this, since WPF does live in .NET 5 now. The Framework version is no longer being developed.
So a move to .NET 5 as a target is in order here sooner or later I think?
 
User avatar
sfernandez
Site Admin
Posts: 2984
Joined: 22 Dec 2011, 19:20

Re: Any reason NuGet package for Noesis.GUI.Extensions targets .NET Framework instead of .NET standard?

04 May 2021, 18:31

Yes, this is something we will do in a future release. Created ticket #2000 to follow this issue.
 
KeldorKatarn
Posts: 193
Joined: 30 May 2014, 10:26

Re: Any reason NuGet package for Noesis.GUI.Extensions targets .NET Framework instead of .NET standard?

04 May 2021, 21:05

Might want to think about the behaviors too. From what I know WPF moved the standard behavior stuff to the package
Microsoft.Xaml.Behaviors.Wpf, which has a different namespace in XAML. Would be good to eventually adjust that as well
so the Blend project can use that and not have a namespace collision with the Noesis part, which is still based on an older System.Windows.Interactivity.
 
User avatar
sfernandez
Site Admin
Posts: 2984
Joined: 22 Dec 2011, 19:20

Re: Any reason NuGet package for Noesis.GUI.Extensions targets .NET Framework instead of .NET standard?

05 May 2021, 10:30

We already support the use behaviors namespace in Noesis: viewtopic.php?f=14&t=1923&p=10947&hilit ... Wpf#p10947
But yes, we can also reference that new nuget instead of old interactivity, I updated the ticket #2000 to reflect that.
 
aah
Posts: 1
Joined: 26 Nov 2023, 20:11

Re: Any reason NuGet package for Noesis.GUI.Extensions targets .NET Framework instead of .NET standard?

24 Mar 2024, 21:51

I thought this release3.0.9 supported .NET 5.0, so the discussion here and the ticket#2000 was resolved?
 
User avatar
sfernandez
Site Admin
Posts: 2984
Joined: 22 Dec 2011, 19:20

Re: Any reason NuGet package for Noesis.GUI.Extensions targets .NET Framework instead of .NET standard?

26 Mar 2024, 18:04

You are right, that ticket is already resolved and Noesis.GUI.Extensions nuget supports .NET and .NETCore as well as .NET Framework projects since 3.0.9 version. Thanks for pointing this out.

Who is online

Users browsing this forum: Bing [Bot] and 3 guests