Skip to content

Instantly share code, notes, and snippets.

@mikicho

mikicho/Main.hx Secret

Last active August 29, 2015 14:19
Show Gist options
  • Save mikicho/44d57f31f017fa5d86f8 to your computer and use it in GitHub Desktop.
Save mikicho/44d57f31f017fa5d86f8 to your computer and use it in GitHub Desktop.
Running process: (path)\FlashDevelop\Tools\fdbuild\fdbuild.exe "(path)\tryC#\tryC#.hxproj" -ipc 79c7e361-2c99-45e2-8a76-04105d0a26a0 -version "3.2.0" -compiler "(path)\Haxe\haxe" -notrace -library "(path)\FlashDevelop\Library"
Building tryC#
haxe -cp src -cs (path)/tryC#/cs -main Main -net-lib (path)\tryCS\tryCS\bin\Debug\tryCS.dll -net-lib C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Windows.Forms.dll@std -net-lib C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Drawing.dll@std -net-lib C:\Windows\Microsoft.NET\Framework\v2.0.50727\Accessibility.dll@std
haxelib run hxcs hxcs_build.txt --haxe-version 3200 --feature-level 1
src\Sample.cs(131,6): error CS0200: Property or indexer 'System.ComponentModel.Component.DesignMode' cannot be assigned to -- it is read only
src\Sample.cs(138,6): error CS0200: Property or indexer 'System.ComponentModel.Component.Events' cannot be assigned to -- it is read only
src\Sample.cs(222,6): error CS0200: Property or indexer 'System.ComponentModel.Component.CanRaiseEvents' cannot be assigned to -- it is read only
src\Sample.cs(271,6): error CS0200: Property or indexer 'System.Windows.Forms.Control.DefaultCursor' cannot be assigned to -- it is read only
src\Sample.cs(278,6): error CS0200: Property or indexer 'System.Windows.Forms.Control.DefaultMargin' cannot be assigned to -- it is read only
src\Sample.cs(285,6): error CS0200: Property or indexer 'System.Windows.Forms.Control.DefaultMaximumSize' cannot be assigned to -- it is read only
src\Sample.cs(292,6): error CS0200: Property or indexer 'System.Windows.Forms.Control.DefaultMinimumSize' cannot be assigned to -- it is read only
src\Sample.cs(299,6): error CS0200: Property or indexer 'System.Windows.Forms.Control.DefaultPadding' cannot be assigned to -- it is read only
src\Sample.cs(418,6): error CS0200: Property or indexer 'System.Windows.Forms.Control.RenderRightToLeft' cannot be assigned to -- it is read only
src\Sample.cs(439,6): error CS0200: Property or indexer 'System.Windows.Forms.Control.ScaleChildren' cannot be assigned to -- it is read only
src\Sample.cs(488,6): error CS0200: Property or indexer 'System.Windows.Forms.Control.ShowKeyboardCues' cannot be assigned to -- it is read only
src\Sample.cs(495,6): error CS0200: Property or indexer 'System.Windows.Forms.Control.ShowFocusCues' cannot be assigned to -- it is read only
src\Sample.cs(537,6): error CS0200: Property or indexer 'System.Windows.Forms.Control.DefaultImeMode' cannot be assigned to -- it is read only
src\Sample.cs(607,6): error CS0200: Property or indexer 'System.Windows.Forms.ContainerControl.AutoScaleFactor' cannot be assigned to -- it is read only
src\Sample.cs(628,6): error CS0200: Property or indexer 'System.Windows.Forms.Control.CanEnableIme' cannot be assigned to -- it is read only
src\Sample.cs(670,6): error CS0200: Property or indexer 'System.Windows.Forms.Control.CreateParams' cannot be assigned to -- it is read only
src\Sample.cs(677,6): error CS0200: Property or indexer 'System.Windows.Forms.Control.DefaultSize' cannot be assigned to -- it is read only
Compilation error
Native compilation failed
Error: Build failed
Build halted with errors (haxe.exe).
Done(1)
package;
class Main
{
static function main()
{
new SampleUserControl();
}
}
package;
import cs.system.windows.forms.UserControl;
class SampleUserControl extends UserControl
{
public function new()
{
super();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment