Can not build a windows form application in java?

Can not build a windows form application in java ?

You can, in general, but Mono’s Resource Processing sometimes has this crash, unfortunately out of our control.

Two options:

(a) it seems you have EBuild disabled, if this triggers. Can you got to Preferences|Build and make sure “Use legacy build chain” is off? EBuild should not have this problem. (I’m assuming you’re own a fairly recent build)

(b) remove the Resources.resx file, or change it’s Build action to None.

hth,
marc

PS: fwiw, nothing related to Java, you’d get the same error with any .NET project, including C# or even Mono’s own C# compiler. It’s a. Mono/Mac bug).

Sometimes, just building a second time will work, too. For example, I’m trying right now and (with legacy turned back on) it gets stuck on

Read in 1 resources from ‘/Users/mh/Test Projects/WindowsApplication19/Main.resx’
Writing resource file… Done.

and just hangs forever. if I ill the build (Cmd-.) and build again, it’s fine. (same project with EBuild builds clean :wink: