Cannot convert null literal to non-nullable reference type

This public forum is for user-to-user discussions of ASP.NET Maker. Note that this is not support forum.
Post Reply
Markom
User
Posts: 22

Cannot convert null literal to non-nullable reference type

Post by Markom »

I'm trying to find out if it is possible to use a project that was developed in ASPNetMaker2020 in ASPNetmaker2024. Has anybody any experience with this step? Or should I do it stepwise, migrate step by step to 2021, 2022, 2023?


MichaelG
User
Posts: 1171

Post by MichaelG »

Just open by v2024 directly. Also read Migrating to v2024.


Markom
User
Posts: 22

Post by Markom »

Actually I did, but I get a lot of errors like ': Cannot convert null literal to non-nullable reference type', nio clue how to solve this.


MichaelG
User
Posts: 1171

Post by MichaelG »

Since v2022, nullable reference types is used, you may need to update your server events to resolve warnings, see Learn techniques to resolve nullable warnings.

If you have server event codes, comment them first and then uncomment them one by one.


Post Reply