[Mono-list] Re: Problem compiling simple app using Mono. Partial declarations of `TestMono.Form1' have conflicting accessibility modifiers

Stacey Levine staceyl at MUSICFORASONG.COM
Fri Jun 16 09:56:06 EDT 2006


 It does compile just fine in MS.

Thanks.
 
Stacey

-----Original Message-----
From: mono-list-bounces at lists.ximian.com [mailto:mono-list-bounces at lists.ximian.com] On Behalf Of "Andrés G. Aragoneses [ knocte ]"
Sent: Friday, June 16, 2006 2:33 AM
To: Mono-list at lists.ximian.com
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  -  Mono-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


More information about the Mono-list mailing list