Is there an option to add a TargetFramework of netstandard2.0 ? #666
-
Hi, we're using a lot of .netstandard2.0 because a lot of our code is used on both .net fw (4.7.x) and .net 6 or .net 8 Is there an option to add a TargetFramework of netstandard2.0 ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi @itayang, ClearScript currently does not support .NET Standard 2.0. It does support all of the runtimes you're using, but not via a single set of .NET Standard 2.0 assets. .NET Standard 2.0 is missing some of ClearScript's API dependencies. However, there are backfill libraries for most of them. It might be possible to support .NET Standard 2.0 with minimal loss of functionality, but we just haven't had a chance to look into it. Sorry! |
Beta Was this translation helpful? Give feedback.
-
All right, we'll do our best. |
Beta Was this translation helpful? Give feedback.
Hello @itayang,
Unfortunately, unless you wish to modify and build ClearScript yourself, the only option is to change the targeting of your library.
If your library multitargeted one of the following combinations:
then it would be able to use ClearScript and continue to support its existing consumers.
Good luck!