Closed FlameskyDexive closed 11 months ago
The DLL files should work, the project should also work if you upgrade the framework version.
The DLL files should work, the project should also work if you upgrade the framework version.
thanks for reply so fast, cause "FormatterServices" is obsolete in .net8, i can't figure out any new api to replace this, so it can't be used in .net8 program. the error details "Severity Code Description Project File Line Suppression State Error SYSLIB0050 'FormatterServices' is obsolete: 'Formatter-based serialization is obsolete and should not be used.' (https://aka.ms/dotnet-warnings/SYSLIB0050)", i use the source code to compile.
Thanks, I will look into it.
error line720 in JSON.cs
Try :
o = System.Runtime.CompilerServices.RuntimeHelpers.GetUninitializedObject(type);
Try :
o = System.Runtime.CompilerServices.RuntimeHelpers.GetUninitializedObject(type);
wow, it builds successful now, thanks so much!!!
do not support .net8, will it fixed in the future?