WiseJ project Referencing .net 5 Project

0
0

I am getting compatibility errors when I try to reference a .Net 5 Api into my Wisej Web Application. Is there a way to go around it?

 

 

  • You must to post comments
0
0

Hi Sam,

Find attached the requested sample.

What I would suggest is that you design all the forms/pages/UCs and then just remove .NET Framework 4.8 as one of the targets.
This sample compiles and runs on .NET 6, however, as I mentioned earlier, you can’t use the designer anymore!
The .NET Core designer is going to be part of the next Wisej.NET version, so you can be sure that we’re working on it!
Best,
Alaa
Attachment
  • You must to post comments
0
0

Thanks for the Replies, I have been trying this for a week now. If you have a sample application, maybe you could share.

Thanks alot and good job on WiseJ. I love it.

  • You must to post comments
0
0

Multitargeting is a standard feature of the sdk project format in visual studio and msbuild. You can use conditions to reference projects with different targets. It’s not Wisej issue.

 

  • Sam Baraka
    Hi team, I am stuck here. I have tried Multi Targeting, but the Web API on .NET core 5, is not compatible with my client. If anyone has a sample project that combines a .net core api 5 and a client , kindly share. It will help alot.
  • You must to post comments
0
0

Hi Alaa

Thanks for your reply, I will try the workaround, however does this mean that if i want to use WiseJ designer, then all projects in solution should be in .net48.

What would then happen if i want to deploy the solution on linux environment, would it still work?

 

Thanks.

  • Alaa (ITG)
    You don’t have to make all projects work with .NET 48, only the Wisej project is enough for the designer to work. And if you want to deploy to Linux, you can do that with the help of the Publishing tool from VS.
  • You must to post comments
0
0

Hi Sam,

Looks like the .NET Framework 4.8 dependency is the one that’s causing troubles?

Try editing the csproj file by removing the net48 dependency from the TargetFrameworks and see if that helps?

The only issue with this workaround is that you’re going to lose the designer capabilities, as with Wisej, .NET Framework 4.8 is required for the designer.

HTH,
Alaa

  • You must to post comments
Showing 5 results
Your Answer

Please first to submit.