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.

Tags:
 
User avatar
sfernandez
Site Admin
Posts: 1935
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?

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 2 guests