Reputation: 21
I'm attempting to make a Windows forms application and compile it with CoreRT. When the app is simple, compilation works correctly; everything is compiled and the managed code is converted into native. However, if I do more than add a couple of buttons to the form, e.g. "Changing the icon", the application won't run when compiled? Why?
The only code written was "MessageBox.Show(DateTime.Now.ToString(), "Current Date Time Native", MessageBoxButtons.OK, MessageBoxIcon.Information);" The problem I'm having is that the application compiles and runs only when basic controls are used. As soon as I add an icon to the application when I compile and try to run it, nothing happens. It doesn't even start.
The only thing I'm able to do in order to get the application to compile and run is add simple controls such as buttons and labels from the .NET toolbox. Adding something such as an Icon, or even changing the name results in the application compiling but when I try to run it, it doesn't start.
Upvotes: -1
Views: 863
Reputation: 839
Short answer: no. Long answer, check [Windows Forms] Controls support #7995 for a list of partially working controls. Most are missing, as COM support is missing from CoreRT at present.
Upvotes: 0