ClearScript icon indicating copy to clipboard operation
ClearScript copied to clipboard

Add support for .NET Core

Open cilerler opened this issue 9 years ago • 44 comments

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'.

cilerler avatar Aug 10 '17 15:08 cilerler

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 avatar Oct 10 '18 15:10 ClearScriptLib

@ClearScriptLib Thanks a lot for the quick response. We will keep looking for the progress and hope this gets done sooner than later. :)

ashutosh-kiddev avatar Oct 11 '18 07:10 ashutosh-kiddev

@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 avatar Apr 02 '19 19:04 smokeelow

@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 avatar Apr 02 '19 20:04 ClearScriptLib

@ClearScriptLib https://github.com/dotnet/coreclr/issues/18013 has been closed :wink:

cilerler avatar Jun 27 '19 16:06 cilerler

@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.

WhitWaldo avatar Jul 06 '19 00:07 WhitWaldo

Any chance to make this happen in .NetCore3?

cilerler avatar Jul 06 '19 01:07 cilerler

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.

daniel-schroeder-zeiss avatar Jul 22 '19 11:07 daniel-schroeder-zeiss

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.

LeaFrock avatar Aug 28 '19 07:08 LeaFrock

@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.

cilerler avatar Sep 23 '19 21:09 cilerler

@ClearScriptLib any update on this? Would you please provide a status update. Thanks in advance

cilerler avatar Oct 22 '19 20:10 cilerler

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)?

adamplonka avatar Oct 23 '19 15:10 adamplonka

@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.

cilerler avatar Oct 23 '19 16:10 cilerler

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!

ClearScriptLib avatar Oct 23 '19 16:10 ClearScriptLib

That is fantastic news @ClearScriptLib. Thank you very much!

cilerler avatar Oct 23 '19 16:10 cilerler

@ClearScriptLib Waiting for good news! Thanks!

LeaFrock avatar Oct 27 '19 14:10 LeaFrock

WOO HOO!

https://devblogs.microsoft.com/dotnet/announcing-net-core-3-1/

tombatron avatar Dec 03 '19 21:12 tombatron

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)?

colonelchlorine avatar Dec 05 '19 02:12 colonelchlorine

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!

ClearScriptLib avatar Dec 05 '19 14:12 ClearScriptLib

ClearScript 6.0 added support for .NET Core 3.1 on Windows.

ClearScriptLib avatar Dec 18 '19 16:12 ClearScriptLib