Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Lawn_Android project encountered many problems. #7

Open
Wegorfrank opened this issue Nov 29, 2023 · 1 comment
Open

The Lawn_Android project encountered many problems. #7

Wegorfrank opened this issue Nov 29, 2023 · 1 comment

Comments

@Wegorfrank
Copy link

There had been two hard problems with Lawn_Android project.

Firstly,the corresponding net-android version is already out of support.If you have not encountered this error yet,please try updating visual studio to the latest version(VS2022 17.8.1).
After the release of .net8 on september, the .net6 targets for ex-xamarin platforms (android, ios) got deprecated.
OutOfSupport
As for a quick way to handle it,which does not require a large modification to codes,please refer to this problem:https://community.monogame.net/t/workload-net6-0-android-is-out-of-support-error/19877

Secondly,(however,I am not sure if this is a bug)Line629 in MonoModUtils.cs will throw an unhandled exception.This exception can be avoided by simply turning the line into comment or deleting the statement.
Exception

@Mewnojs
Copy link
Owner

Mewnojs commented Jan 17, 2024

I'm currently working on it. As a workaround, you can install .NET 7.0 SDK and call it a day.

Migrating to .NET 8.0 is difficult because we need to find a replacement of MonoMod which in its two branches, stopped supporting either newer .NET or Android platform entirely. This means all the mod scripting functions need an overhaul, or just left to be abolished.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants