UndertaleModTool icon indicating copy to clipboard operation
UndertaleModTool copied to clipboard

Manually add DEBUG constant to nightly builds

Open colinator27 opened this issue 1 year ago • 2 comments

Description

It seems that the updater button has completely vanished from nightly/bleeding edge builds, presumably because DEBUG isn't being defined correctly. Not sure if we should apply this to other workflows, too.

Caveats

Not sure if there's some other configuration thing I'm missing, or if this is how the compiler is meant to work.

colinator27 avatar Aug 27 '24 16:08 colinator27

This seems wrong, the -c configuration should already handle DEBUG being set. Maybe it needs to be -c DEBUG instead of -c Debug?

I don't think so, the configuration name should be Debug. Not sure what's supposed to control DEBUG being defined, but it's definitely not in any project files right now. Some docs on https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/preprocessor-directives suggest that it should be defined automatically, but it's clearly not happening right now. Maybe it's just an IDE thing for some reason?

colinator27 avatar Aug 27 '24 18:08 colinator27