Hi, Try gmcs instead of mcs.
-bill 2008/10/14 mike horsley <[EMAIL PROTECTED]>: > I can use the following on MS: > > System.Configuration.ConfigurationManager.AppSettings(……..) > > > > This requires a reference to System.Configuration. > > > > I'm trying to do the same on mono 2.0 (using the VMWARE image) but cant > figure out what reference I need to give mcs to get it to compile. > > > > I've tried "-r:System.Configuration.dll" and get the mcs error "cannot find > metadata file 'System.Configuration.dll" whereas if I use > "-r:System.Configuration.Install.dll" (having found the dlls in > /user/lib/mono/2.0/) I get the mcs error "Error CS0234 the type or namespace > 'ConfigurationManager' does not exist in the namespace > 'System.Configuration' are you missing an assembly reference? > > > > I can use the legacy mode ConfigurationSettings.AppSettings but this then > means I have 2 variants of code (one for Windows, one for Linux) > > > > Any help appreciated! > > Mike > > > > _______________________________________________ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list > > _______________________________________________ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list