net48 issues

0
0

There are a lot of issues regarding net48 target, here is a list:

  • Cannot install some .net core packages, if we remove the net48 target from the project file, we can install normally.
  • the designer does not work without net48, obviously because the designer is based on .net framework, but this leads to another issue: if we reference a .net core class library from the web app project, we will not be able to run the project because .net core cannot be referenced from net48, and if we remove net48 we will not be able to open the designer… Basically I’m now stuck with an app that I cannot run nor open the designer.
  • I tried to reference the .net core class library conditionally (if target == net8) but that does not work also.

Any advise regarding this?

Will the designer depend on .net core only or not?

Please advise,

Thanks!

  • You must to post comments
0
0

Ali,

currently the designer is .NET48 only, yes. A .NET core designer is being developed but we don’t have a specific timeframe for it’s release yet.
Thus if you want to keep designing your forms while using .NET core components, you have to deal with Multi Targeting.

You can find a couple of options in our documentation

https://docs.wisej.com/docs/releases/whats-new-in-3.0/multi-targeting

Or by just googling around as this is a general .NET topic with lots of content spread around.

Best regards
Frank

  • Ali Badran
    Thanks Frank… I’m trying to figure out how to reference a .net core library without having net48 issues, I’m searching online but didn’t find a solution yet, any advise?
  • Frank (ITG)
    Hi Ali, did you try the options described in the link above? Best regards, Frank
  • Alaa (ITG)
    Try to target .NETStandard 2.0, as that is compatible in both .NET 48 and .NET Core.
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.