I am downloading 1.1.15 right now and will try that out. Thanks. Stacey
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gareth Pearce Sent: Friday, June 16, 2006 10:36 AM To: [email protected] Subject: Re: [Mono-list] Re: Problem compiling simple app usingMono. Partialdeclarationsof `TestMono.Form1' have conflicting accessibilitymodifiers If I remember correctly, this message shows up on gmcs in the 1.1.13 release - but not in 1.1.15 - when I was attempting to port my app just recently. --Gareth Jonathan S. Chambers wrote: > I believe you need to use gmcs, not mcs. Your sample compiles with gmcs for > me. > > gmcs -r:System.Windows.Forms -r:System.Data -r:System.Drawing /out:test.exe > *.cs > > - Jonathan > > >> -----Original Message----- >> From: [EMAIL PROTECTED] [mailto:mono-list- >> [EMAIL PROTECTED] On Behalf Of Stacey Levine >> Sent: Friday, June 16, 2006 9:56 AM >> To: "Andrés G. Aragoneses [ knocte ]"; [email protected] >> Subject: RE: [Mono-list] Re: Problem compiling simple app using Mono. >> Partialdeclarations of `TestMono.Form1' have conflicting >> accessibilitymodifiers >> >> It does compile just fine in MS. >> >> Thanks. >> >> Stacey >> >> -----Original Message----- >> From: [EMAIL PROTECTED] [mailto:mono-list- >> [EMAIL PROTECTED] On Behalf Of "Andrés G. Aragoneses [ knocte ]" >> Sent: Friday, June 16, 2006 2:33 AM >> To: [email protected] >> Subject: [Mono-list] Re: Problem compiling simple app using Mono. Partial >> declarations of `TestMono.Form1' have conflicting accessibility modifiers >> >> Stacey Levine escribió: >> >>> Hello everyone. >>> >>> >>> >>> I am testing out Mono for an application and am having problems with >>> compiling my application. I built a simple C# application that has one >>> form and I put the controls on the form that I am going to need. My >>> little test project is here : http://www.levineclan.net/testMono.zip >>> >>> >>> >>> I think I have the compile line figured out, and there is a batch file >>> in that directory structure which should do it, but when I try to >>> compile using mono - I get one error message that I have no idea how to >>> fix. The message is below. Anything you could do to help would be >>> greatly appreciated. >>> >>> >>> >>> "D:\Projects .NET\TestMono\TestMono>mcs /out:test.exe Program.cs >>> Form1.cs Form1. >>> >>> Designer.cs Form1.Designer.cs(3,19): error CS0262: Partial declarations >>> of `TestMono.Form1' >>> >>> have conflicting accessibility modifiers >>> >>> Compilation failed: 1 error(s), 0 warnings " >>> >> Hello. >> >> Without seeing the code: >> >> - Partial classes must be declared with the same accessibility keyword >> (public, private, protected)... >> - Did you try to compile the program with the MS compiler? >> >> Regards, >> >> Andrés [ knocte ] >> >> -- >> >> _______________________________________________ >> Mono-list maillist - [email protected] >> http://lists.ximian.com/mailman/listinfo/mono-list >> _______________________________________________ >> Mono-list maillist - [email protected] >> http://lists.ximian.com/mailman/listinfo/mono-list >> > > > _______________________________________________ > Mono-list maillist - [email protected] > http://lists.ximian.com/mailman/listinfo/mono-list > > _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
