kelmenwong Posted December 18, 2021 Share Posted December 18, 2021 did few moddings for the original game in past. now dlc spaced-out has leave early-access, trying to update few mods. i have stopped programing for some time. just updated the visual studio 2019 and the jetbrain dotpeek. *** trying to get a good build with the decompiled 0harmony source, when opening this sln, vs stated it's targeting 4.7.1 .net ver. installed both the sdk and tgt pack *** then getting error at ...\0Harmony\Mono\Cecil\PE\ImageWriter.cs(672,59,672,63): error CS8370: Feature 'records' is not available in C# 7.3. Please use language version 9.0 or greater. when looking about this compilation error, looks like using new c# 9 feature record, which should be in .net 5.x. now i confused, what .net ver is this code working on? maybe i took things wrong about the compilation err? Link to comment https://forums.kleientertainment.com/forums/topic/136288-trying-to-pickup-modding-after-long-time-need-some-help/ Share on other sites More sharing options...
Sanchozz Posted December 19, 2021 Share Posted December 19, 2021 you don't need decompiled 0harmony source. just use the 0Harmony.dll that comes with the game. Link to comment https://forums.kleientertainment.com/forums/topic/136288-trying-to-pickup-modding-after-long-time-need-some-help/#findComment-1525748 Share on other sites More sharing options...
kelmenwong Posted December 19, 2021 Author Share Posted December 19, 2021 so what .net ver is the game really targeting? Link to comment https://forums.kleientertainment.com/forums/topic/136288-trying-to-pickup-modding-after-long-time-need-some-help/#findComment-1525838 Share on other sites More sharing options...
gabberworld Posted December 19, 2021 Share Posted December 19, 2021 3 hours ago, kelmenwong said: so what .net ver is the game really targeting? 4.7.1 is minimum if you want build mod with harmony but 4.7.2 should work as-well Link to comment https://forums.kleientertainment.com/forums/topic/136288-trying-to-pickup-modding-after-long-time-need-some-help/#findComment-1525881 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.