Open Bluscream opened 1 year ago
i am having the same error "System.Runtime.Versioning.TargetFrameworkAttribute"
try compiling the mod with .NET 6.0
i fixed this by compiling my project with net35 or net472 as you can see that game's runtime is net35 (you can tell by the log) so you should download this and use it as the build target framework version in visual studio
i fixed this by compiling my project with net35 or net472 as you can see that game's runtime is net35 (you can tell by the log) so you should download this and use it as the build target framework version in visual studio
How is this completed?
try 4.7.2 runtime, and what exactly happens when you try to compile with 3.5? if you wish you can add me on discord so i can try helping you better and you can close it with the solution
--, try downgrading melon loader to 0.5.7, might help.
@Bluscream ?
Older ML worked
close the issue !
Why would i close it when the error still exists with latest ML?
latest ml is buggy and a lot of modders just use 0.5.7 anyway as i heard from the discord
All of the following criteria must be met
Latest.log
file included. If no file exists then leave this unchecked and state so.All of the following are optional to answer
Describe the issue.
This is with the mod compiled as .NET 7.2; 3.5 won't compile :
Bepis addressed this issue with unity assets with different handling of references that i use, but obv they don't include the specific game's assembly-csharp
Did you attach your log file?
{Game_Directory}\MelonLoader\Latest.log