> |>>** (/home/chrisa/.mono//mono/lib/mono/1.0/mcs.exe:31483): > |> > |>WARNING **: > |> > |>>Could not find assembly System.Windows.Forms, references from > |>>/home/chrisa/ASPNET/bin/Npgsql.dll (assemblyref_index=5) > |> > |>System.Windows.Forms is not currently included in the Mono > installer, > |>so anything that depends on it will not work. It will be > included in > |>future versions, based on the managed SWF implementation > | > | > | Thanks Daniel, > | > | I have a working mono installation on another PC. Is it possible to > take the > | SWF dll (if such a thing exists) to make this app work? > | > > I think this would be possible if SWF assembly doesn't depend > on anything. Just copy the SWF assembly to your machine and > add it to gac. > > Npgsql only depends on SWF because of VS.NET Design time > support. I will try to tweak Npgsql source to conditionally > compile with VS.NET support only when compiled with csc. > > Sorry for this problem. > > If this doesn't work, please let me know. I can try to strip > all the SWF code dependency and create an Npgsql.dll which > doesn't depend on it.
Well I copied the Npgsql.dll from the working installation (all the dll's are 2.0 if that means anything). Then I copied SWF, then I had to copy a load more (System.Design.dll and Accessibility.dll to be exact.). Now it works fine. Cheers Chris -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
