[Mono-osx] Still trouble with 1.1.16

Ken & Deb Allen kendrhyd at sympatico.ca
Mon Aug 21 16:08:05 EDT 2006


Yes, it was "macpack"ed. The following is the script that I used.
> #! /bin/sh
> cd ~/Development/Mono/DoubleElimination
> echo Building...
> mcs -out:DoubleElimination.exe -t:exe -warn:4 -win32icon:App.ico - 
> r:System.Windows.Forms.dll -r:System.Drawing -r:System.Data  
> AssemblyInfo.cs ControlForm.cs CreateTournamentForm.cs  
> EliminationTournamentClass.cs
> rm -R DoubleElimination.app
> macpack -n:DoubleElimination -a:DoubleElimination.exe -o:. -m:1
> rm DoubleElimination.exe
> echo done.

I can ZIP and send the simple source files, if you like.

-ken

On 21-Aug-06, at 2:41 PM, Edward J. Sabol wrote:

> Ken Allen wrote:
>> Personally, the only thing that I did was install the Mono release,
>> recompile my test program (which is very simple and was originally
>> created using Visual Studio .Net 1.1 under Windows XP Pro), and then
>> attempt to execute it.
>
> Unfortunately, I can't test 1.1.16 at the moment....
>
> Just to be clear, Ken, did you "macpack" it? Maybe you skipped this  
> step
> which is required on the Mac but not on Windows?
>
> Here's a sample Makefile which shows you how to "macpack" a simple
> System.Windows.Form program on the Mac:
>
> CSFILES = Form1.cs
> OUTFILE = Form1.exe
> OUTAPP  = Form1
>
> all: $(OUTAPP).app/Contents/Resources/$(OUTFILE)
>
> clean:
> 	rm -f *.exe *.dll *.mdb
> 	rm -rf *.app
>
> run:
> 	open $(OUTAPP)
>
> $(OUTAPP).app/Contents/Resources/$(OUTFILE): $(OUTFILE)
> 	rm -rf $(OUTAPP).app
> 	macpack -m:1 -n:$(OUTAPP) -o:. -a:$(OUTFILE)
>
> $(OUTFILE): $(CSFILES)
> 	mcs -g $(CSFILES) -r:System.Drawing.dll - 
> r:System.Windows.Forms.dll -out:$@
> _______________________________________________
> Mono-osx mailing list
> Mono-osx at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-osx



More information about the Mono-osx mailing list