realworld666 / SIncLib

Collection of tools for Software Inc.
5 stars 1 forks source link

[A11] SystemException: [CS1061] Type `GUIWorkItem` does not contain a definition for `Assign` #1

Closed joestringer closed 3 years ago

joestringer commented 4 years ago

Version: Alpha 11.6.11

After startup, from the Mods menu, this mod shows up under the Error tab. Here's the error:

SystemException: [CS1061] Type GUIWorkItem does not contain a definition for Assign and no extension method Assign of type GUIWorkItem could be found. Are you missing an assembly reference? In at [269, 30]

Must be referring to this: https://github.com/realworld666/SIncLib/blob/10d31023d51314b4ff5613d57c6327b3b72d57de/SIncLib/SIncLibAutoDevUI.cs#L269

ghost commented 4 years ago

Im working on a A11 fix for this.

ghost commented 4 years ago

Expect a A11 version later next week.

realworld666 commented 4 years ago

Thanks. I've not had time to look at this mod for some time. If you make a PR I can pull it in

ghost commented 4 years ago

A11 has broken the entire mod, the way software is created has totally changed, i think SIncLib will have to be redone. A bug fix wont work here.

ghost commented 4 years ago

I'm going to drop this PR currently. Too much and i've already got tons to do.

joestringer commented 4 years ago

Out of curiousity, is there a particular page that describes the new modding APIs? Or what's the process of figuring it out, just looking at exported symbols?

realworld666 commented 4 years ago

https://swinc.net/wiki/index.php?title=Modding though I dont know how up to date it is

ghost commented 4 years ago

The modding API hasn't changed a single bit, but the game source code has changed a shit ton, checkout the official discord here: https://discordapp.com/invite/VsPgYKS

Alot of modders can probably help you.

ghost commented 4 years ago

For example, there is no beta, alpha or delay for software development now, it's really changed.

realworld666 commented 3 years ago

So its been a while but I'm updating this for A11 now. I've got it compiling but theres a runtime error I need to investigate

realworld666 commented 3 years ago

I've removed the auto dev stuff as much of the functionality is now covered by the main game but I've fixed up the rest of the mod and will add some new things in the future hopefully