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
Update for Stardew Valley 1.2, streamline build process, and simplify code #2
Conversation
This dynamically loads the correct dependencies depending on the OS and platform, so it's easier to compile the code on any computer.
You missing a local commit by any chance? |
@mralbobo What error are you getting? |
Quite a few actually, mostly syntax errors. The first one: if (!location.objects.TryGetValue(pos, out StardewValley.Object obj)) Don't think this is valid syntax (I could be wrong, but it is complaining...): |
It sounds like you don't have Visual Studio 2017 (or an equivalent IDE on Linux/Mac), so you can't compile C# 7. Do you want me to add a commit to remove any C# 7 features? |
I'll update from 2015 first and see how that goes... |
That did it. Also did terrible terrible git things (rewriting history). |
GateOpener doesn't work in the latest version of SMAPI. Players see this error:
This pull request mainly...
This automates references (so we no longer need to change reference paths in the
.csproj
), lets us compile the mod on Linux/Mac/Windows without changes, and simplifies debugging from Visual Studio.Mods
folder that works on Linux/Mac/Windows.If the changes all look good, can you release GateOpener-1.1.zip for players to use?