Page 1 of 1

OpenSilver Visual Studio extension uses .NetStandard?

Posted: Tue Mar 24, 2020 3:25 pm
by juanbucz
Hi:

I've been playing around the Alpha Release of OpenSilver and am quite excited by the possibilities.

I created a simple sample project using the Visual Studio OpenSilver extension.
I see that it creates a .NetStandard 2.0 library.
I was curious as to why the is the case?

The underlying OpenSilver library relies on AspNetCore.
Are there plans to have the extensions moved to .NetCore?

How will all this play out as .Net 5.0 comes out later this year?

Thx,
JB

Re: OpenSilver Visual Studio extension uses .NetStandard?

Posted: Fri Mar 27, 2020 3:33 pm
by JS-Support @Userware
Hi,

Thanks for your message.

We use the .NetStandard 2.0 library so that it also works in the Simulator, which is currently made in WPF. The Simulator is a powerful tool that lets you debug your OpenSilver application using the full featured .NET Framework debugging tools of Visual Studio.

OpenSilver relies on Microsoft Blazor, which relies on AspNet core. We plan to stay in sync with the technology used by Blazor.

We plan to move to .Net 5.0 when available.

Thanks!

Re: OpenSilver Visual Studio extension uses .NetStandard?

Posted: Mon Mar 30, 2020 1:36 pm
by juanbucz
Hi:

Thanks for getting back to me.

If we choose not to try to not use the simulator, is it possible to build OpenSilver using .NetCore libraries instead of .NetStandard?
We have several of our existing business logic libraries running under .NetCore.

Thanks,
JohnB

Re: OpenSilver Visual Studio extension uses .NetStandard?

Posted: Tue Mar 31, 2020 2:42 am
by JS-Support @Userware
Hi,

I don't know the answer, but if it works in a client-side Blazor project, then yes, you can use it in an OpenSilver application.

Thanks