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

"Andrés G. Aragoneses [ knocte ] "Andrés G. Aragoneses [ knocte ]
Fri Jun 16 02:33:09 EDT 2006


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 ]

-- 



More information about the Mono-list mailing list