Writing NUNITS with a library that does not support .net8.0

Manickam, Suraj 320 Reputation points
2024-07-10T09:23:08.5833333+00:00

Nunits or Xunits forces us to include .net8.0 as one of our target platform along with the existing , i do have a library which does not support generic .net8.0 and only android or IOS , I really cannot use target specific code since i have used these library to write some of the xamls which is not supported by .net8.0 , What should be done in this case? Do we have any other option to solve this?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,460 questions
0 comments No comments
{count} votes

Accepted answer
  1. Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 42,351 Reputation points Microsoft Vendor
    2024-07-11T03:05:30.0166667+00:00

    Hello,

    Thanks for your feedback.

    .net 7.0 MAUI has stopped updating features. Therefore, you need to migrate your project to .net 8.0.

    Currently, all official Nuget Packages of MAUI have been updated to versions based on .net 8.0. If you use a third-party framework and cause compatibility issues, it is recommended that you submit an issue in the Github repository or forum of the third-party plug-in.

    Best Regards,

    Alec Liu.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.