Add support for .NET Core
When I try to add it from Nuget it says
Restoring packages for ...\ClassLibrary1.csproj...
Package ClearScript.V8 5.4.9 is not compatible with netstandard1.4 (.NETStandard,Version=v1.4). Package ClearScript.V8 5.4.9 supports: net40 (.NETFramework,Version=v4.0)
One or more packages are incompatible with .NETStandard,Version=v1.4.
Package restore failed. Rolling back package changes for 'ClassLibrary1'.
Hi @ashutosh-kiddev,
Thanks for your kind words. Unfortunately redeveloping ClearScriptV8 for compatibility with the current .NET Core would be a large project.
Instead we're hoping that .NET Core will eventually gain the platform features that ClearScriptV8 requires. To that end we're observing CoreCLR issues #18013 and #659.
Cheers!
@ClearScriptLib Thanks a lot for the quick response. We will keep looking for the progress and hope this gets done sooner than later. :)
@ClearScriptLib Looks like that a lot of progress has been made on these two #18013 , #659
Does it mean that we can expect ClearScriptV8 support for .Net Core in the near future?
@smokeelow Our interest in bringing ClearScript to .NET Core remains very high. If and when .NET Core officially gains support for mixed-mode assemblies, supporting it will become our top priority.
@ClearScriptLib https://github.com/dotnet/coreclr/issues/18013 has been closed :wink:
@ClearScriptLib dotnet/coreclr#18013 has been closed 😉
It has, but with the caveat that only the .NET side is completed and that remaining work on the C++/CLI side is being internally tracked.
Any chance to make this happen in .NetCore3?
I'd like to add that even a windows only .Net Standard or Core support would be appreciated. Microsoft is quite clearly communicating that this will be the future. So we would like to move our project to .Net Core even though it is windows only.
As i see above, many developers like me are very eager for your support on .Net Core. Maybe my expectation is a little bit higher. I hope ClearScript can be used on .Net Core and cross platforms(not windows-only). It should be totally available on .Net Core(/Standard).
Unfortunately redeveloping ClearScriptV8 for compatibility with the current .NET Core would be a large project.
.Net itself has been redeveloped and keeps going on. ClearScript is also an official project which represents trust and advance in our minds. So if .NET Core 3.0 doesn't gain support for mixed-mode assemblies, redeveloping a project as 'ClearScript.Core', rather than waiting for something, should be more meaningful to us. The .Net Framework will be a history, and don't let it be a stumbling block——unless you would abandon this project in the future.
@ClearScriptLib FYI
https://github.com/dotnet/coreclr/issues/18013#issuecomment-534289704
I want to share a quick update on this. The latest on the C++/CLI roadmap can be found on our C++ blog here: https://devblogs.microsoft.com/cppblog/the-future-of-cpp-cli-and-dotnet-core-3/
.NET Core support for C++/CLI is coming in .NET Core 3.1 which is shipping with Visual Studio 2019 16.4.
@ClearScriptLib any update on this? Would you please provide a status update. Thanks in advance
as .NET Core vNext will be called .NET 5.0 and .NET Framework 4.8 is the last version which suggests an upgrade from .NET Framework 4.8 to .NET 5.0 will be the only and inevitable upgrade path for legacy windows applications - are there real chances of support for .NET 5.0 (at least windows only)?
@PlonkaAdam No need to blur the water, read the entire issue, please. We have a great chance to receive .NET 3 upgrade, based on what @ClearScriptLib said above. There were two blocking issues, which both resolved as far as I know. However, the only downside will be running it on the Windows environment, but it will be still feasible to use .NET Core 3.
Hi @cilerler,
An update:
- The main ClearScript library is almost entirely compatible with .NET Core 3.0. We're ironing out a few remaining issues.
- We're awaiting the final release of .NET Core 3.1 to begin porting the V8 interface.
- The rest (test libraries, NuGet package, etc.) will follow the V8 work.
Assuming that .NET Core 3.1 fully supports mixed-mode assemblies, we should have a release targeting that platform at some point. Unfortunately, as ClearScript is a side project, we can't commit to any definite timelines.
Thanks!
That is fantastic news @ClearScriptLib. Thank you very much!
@ClearScriptLib Waiting for good news! Thanks!
WOO HOO!
https://devblogs.microsoft.com/dotnet/announcing-net-core-3-1/
When the post says "C++/CLI is only enabled on Windows", what does that mean in terms of the V8 interface port & ClearScript working on other platforms (e.g Linux)?
Hi @colonelchlorine,
.NET Core 3.1 supports mixed assemblies, but only on Windows. ClearScript won't be portable to other operating systems until that changes.
Cheers!
ClearScript 6.0 added support for .NET Core 3.1 on Windows.