[Mono-aspnet-list] ASP.NET MVC 3
Hello guys, Are you planning to incorporate ASP.NET MVC 3 into mono? I'd love to contribute. My github account is andreazevedo Thank you, Andre ___ Mono-aspnet-list mailing list Mono-aspnet-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-aspnet-list
Re: [Mono-aspnet-list] FluentNHibernate InvalidCastException at creating SessionFactory
Ok, it seems I resolved this problem by myself. This is what I found (maybe it will help someone): Going deeper to NHibernate sources I noticed that only when *setting.IsKeywordsImportEnabled* is set the crashing part is fired (SchemaMetadataUpdater.Update(this)). There the SuppliedConnectionProviderConnectionHelper tries to cast some type to DbConnection, this type is probably NpgsqlConnection class which doesn't derive from DbConnection, however it implements IDbConnection. How to disable IsKeywordImportEnabled? sessionFactory = Fluently.Configure() .Database(databaseConfiguration) .Mappings(m = { m.FluentMappings.AddFromAssemblyOfModels.MyClass(); }) *.ExposeConfiguration(c = { c.SetProperty(Environment.Hbm2ddlKeyWords, none); })* .BuildSessionFactory(); Actually I don't know what this setting will cause, but retrieving and inserting entities seem to work fine. -- View this message in context: http://mono.1490590.n4.nabble.com/FluentNHibernate-InvalidCastException-at-creating-SessionFactory-tp3770661p3771120.html Sent from the Mono - ASP.NET mailing list archive at Nabble.com. ___ Mono-aspnet-list mailing list Mono-aspnet-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-aspnet-list
Re: [Mono-aspnet-list] FluentNHibernate InvalidCastException at creating SessionFactory
Ok, I got it. *mono-data-postgresql doesn't contain new versions of Npgsql* since they break backward compatibility. So after few hours all I had to do was to *update Npgsql*, so: 1. download Npgsql 2.0.11.0 (which I use on Windows) from http://pgfoundry.org/projects/npgsql/ here 2. add Npgsql to GAC (gacutil -i /Mono2.0/bin/Npgsql.dll) 3. remove Npgsql 4.0.0.0 from Gac (gacutil -u Npgsql,Version=4.0.0.0) - because my application always got 'the newest' version no matter what I set in DbProviderFactories section. -- View this message in context: http://mono.1490590.n4.nabble.com/FluentNHibernate-InvalidCastException-at-creating-SessionFactory-tp3770661p3772489.html Sent from the Mono - ASP.NET mailing list archive at Nabble.com. ___ Mono-aspnet-list mailing list Mono-aspnet-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-aspnet-list
Re: [Mono-dev] [mono][chktrust]: signature can't be traced back to a trusted root!
I apologize for the follow-up again, but any feedback? Thank you very much. :) -- View this message in context: http://mono.1490590.n4.nabble.com/mono-chktrust-signature-can-t-be-traced-back-to-a-trusted-root-tp3764576p3770175.html Sent from the Mono - Dev mailing list archive at Nabble.com. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] [mono][chktrust]: signature can't be traced back to a trusted root!
On 26.08.2011 02:07, jaysonp wrote: Hi Robert, Using the powershell script, as expected, I was able to export the certs. Thanks for this :) However, 3 follow-up questions: 1. I thought I need PKCS#7 instead of the .cer files to be added on Mono trust store. Will I have to export them as .p7b? MS.NET cannot export as .p7b, but since the root certs are already coherent, .cer will do as well. 2. Given that I've exported them as .cer or .p7b files, will I have to add them 1 by 1 in the Mono store? Is there a way to do it collectively(i.e just pass the directory where the certs are located) When exported-certs is the directory with the certs, the following command will import them: find exported-certs -name *.cer -exec certmgr -add -c Trust {} \; Robert ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] [mono][chktrust]: signature can't be traced back to a trusted root!
Hi Robert, Thanks for the command. But it's not working. See snapshot below: http://mono.1490590.n4.nabble.com/file/n3770307/snapshot.jpg -- View this message in context: http://mono.1490590.n4.nabble.com/mono-chktrust-signature-can-t-be-traced-back-to-a-trusted-root-tp3764576p3770307.html Sent from the Mono - Dev mailing list archive at Nabble.com. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] [mono][chktrust]: signature can't be traced back to a trusted root!
On 26.08.2011 10:47, jaysonp wrote: Hi Robert, Thanks for the command. But it's not working. See snapshot below: http://mono.1490590.n4.nabble.com/file/n3770307/snapshot.jpg I thought you want to import the certs into a Unix machine. Do you need this for Mono under Windows? Robert ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] [mono][chktrust]: signature can't be traced back to a trusted root!
Yes Robert :) -- View this message in context: http://mono.1490590.n4.nabble.com/mono-chktrust-signature-can-t-be-traced-back-to-a-trusted-root-tp3764576p3770375.html Sent from the Mono - Dev mailing list archive at Nabble.com. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] [mono][chktrust]: signature can't be traced back to a trusted root!
On 26.08.2011 11:23, jaysonp wrote: Yes Robert :) Adjust the first line of this PowerShell script to match your system's Mono installation path, then run it. $certmgr=c:\local\Mono\bin\certmgr.bat $target = $home\exported-certs [System.IO.Directory]::CreateDirectory($target) $certs = dir cert:\LocalMachine\Root, cert:\LocalMachine\CA $certs = $certs | Where-Object { $_.Verify() } $certs | ForEach-Object { $certfile = $target\$($_.thumbprint).cer [System.IO.File]::WriteAllBytes($certfile, $_.Export(Cert)) $certmgr /add /c Trust $certfile } ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] changing the color of the group bar in a table view
Has anyone be able to change the color of the group bar in a table view in plain mode. Thanks Michael Murdock Software Engineer (865) 482-1999 (865) 481-0921 fax www.allmeds.comhttp://www.allmeds.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] [mono][chktrust]: signature can't be traced back to a trusted root!
Hi Robert, The script was executed and the certs were exported and imported successfully. However, winword.exe, excel.exe, powerpnt.exe, along with other signed files cannot still be traced to a trusted root. I don't know what's causing this. But still, thank you very much for your continuous help on this Robert. Greatly appreciate it. :) -- View this message in context: http://mono.1490590.n4.nabble.com/mono-chktrust-signature-can-t-be-traced-back-to-a-trusted-root-tp3764576p3772552.html Sent from the Mono - Dev mailing list archive at Nabble.com. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-list] Activating SGen Collector in embedded mono
Im using embeded mono on windows platform. How can I activate the SGen collector or LLVM-code-generation for my application? Elmar ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Hidden references
Hello folks, Im trying to build Moq on mono, so far ive built moq and castle.core. But moq fails to load alot of types at runtime, When I look at the csproj file I notice that moq's reference to castle.core has a Visible False /Visible property, what does this mean? Incidently, my programs all work using moq as built from windows but I'd prefer to build moq fom source on linux too, Thanks Ian -- I may have used dictation software to write this email, please excuse any confusing mistakes. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] mono-2.10.[34]-gtksharp-2.12.11-win32-0.exe regression?
On Sat, Aug 20, 2011 at 8:55 AM, Norbert Berzen norb...@berzen.dyndns.org wrote: Hello all, as it seems to me, on MS-Windows the 2.10.3 and 2.10.4 mono combined installers (Mono for Windows, Gtk#, and XSP) are totally missing gtk-sharp. Due to this any gtk-sharp based application cannot run any longer after upgrade from 2.10.2 to 2.10.3/2.10.4! Did any of you experience similar problems after upgrade from 'mono-2.10.2-gtksharp-2.12.11-win32-0.exe' to 'mono-2.10.[34]-gtksharp-2.12.11-win32-0.exe' on windows? I found the same issue; I had to explicitly add C:\\Program Files (x86)\\GtkSharp\\2.12\\lib\\gtk-sharp-2.0 to the search path (on Windows) to find this. Perhaps you should report this as a bug? -Doug Is it by intention or is it a regression? I've read the 2.10.3/4 release notes but did not find any hint on the new behavior. Perhaps one of you knows the package maintainer and could ask him. Greetings and much success to the xamarin team !!! -- Norbert Berzen norb...@berzen.dyndns.org ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Gtk print demo fails on Windows7 for all versions of Mono/Gtk
Has anyone tried to print using Mono on Windows7? I have some sample code (basically the demo print program) on: http://bugzilla.xamarin.com/show_bug.cgi?id=218 that doesn't run on any version of Mono that I have tried on Windows7? Surely this is a serious issue, or something that no one else is seeing? If someone could try the code, and report back: gmcs DemoPrinting.cs /pkg:gtk-sharp-2.0 -r:Mono.Cairo Run with: mono DemoPrinting.exe Thanks for *any* feedback, -Doug ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] mono ASP .Net (ajax) issues
Hi, I am running mono 2.10.2 with xsp and mod-mono on Linux web server, and javascript on client side. The client sends requry strings to the server via AJAX. But if the javascript string send to web server contained or if it was an empty string, the web server would have an error of undefined object. If the string contained with = character, the web server would cut it off as well as all other characters after the =. If the string contained with a space, the web server would replaced by +. Is it a bug, or was I missing something? Thank you. Jupiter ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Question on Compatibility
I am running Mono 2.10.2 on my machine (FreeBSD, I'm sticking to what is in the ports tree, so I'm not up to .5 yet), and I found something interesting: I have a project written in Visual Studio 2010, using the .NET 4.0 client framework. The executable it produces does not run/open in Mono. I then open the project in MonoDevelop (2.4), keep the same runtime target, set up the command lines I need in the environment, and build the project. This runs just fine. Is this compiling C# 4 into a lower version of the Framework, or is there something odd going on (should I get Mono on my windows machine, see if it fails there, and if so, file a bug report?) Thanks, -Jim Stapleton ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Question on Compatibility
On 26.08.2011 15:58, Stapleton, Steven wrote: I am running Mono 2.10.2 on my machine (FreeBSD, I'm sticking to what is in the ports tree, so I'm not up to .5 yet), and I found something interesting: I have a project written in Visual Studio 2010, using the .NET 4.0 client framework. The executable it produces does not run/open in Mono. I then open the project in MonoDevelop (2.4), keep the same runtime target, set up the command lines I need in the environment, and build the project. This runs just fine. Please specify does not/run open. Robert ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Question on Compatibility
-Original Message- From: mono-list-boun...@lists.ximian.com [mailto:mono-list- boun...@lists.ximian.com] On Behalf Of Robert Jordan Sent: Friday, August 26, 2011 10:12 AM To: Mono-list@lists.ximian.com Subject: Re: [Mono-list] Question on Compatibility On 26.08.2011 15:58, Stapleton, Steven wrote: I am running Mono 2.10.2 on my machine (FreeBSD, I'm sticking to what is in the ports tree, so I'm not up to .5 yet), and I found something interesting: I have a project written in Visual Studio 2010, using the .NET 4.0 client framework. The executable it produces does not run/open in Mono. I then open the project in MonoDevelop (2.4), keep the same runtime target, set up the command lines I need in the environment, and build the project. This runs just fine. Please specify does not/run open. Robert Sorry, I should have known better. Here's the error: Unhandled Exception: System.TypeLoadException: Could not load type 'PluginProgram.Program' from assembly 'PluginTestProgram, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Thanks, -Jim Stapleton ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Question on Compatibility
Addendum, that is the only output from the program (which would make sense, as that is the class that defines the executable's entry point). Thanks, -Jim Stapleton -Original Message- From: Stapleton, Steven Sent: Friday, August 26, 2011 10:19 AM To: 'Robert Jordan'; Mono-list@lists.ximian.com Subject: RE: [Mono-list] Question on Compatibility -Original Message- From: mono-list-boun...@lists.ximian.com [mailto:mono-list- boun...@lists.ximian.com] On Behalf Of Robert Jordan Sent: Friday, August 26, 2011 10:12 AM To: Mono-list@lists.ximian.com Subject: Re: [Mono-list] Question on Compatibility On 26.08.2011 15:58, Stapleton, Steven wrote: I am running Mono 2.10.2 on my machine (FreeBSD, I'm sticking to what is in the ports tree, so I'm not up to .5 yet), and I found something interesting: I have a project written in Visual Studio 2010, using the .NET 4.0 client framework. The executable it produces does not run/open in Mono. I then open the project in MonoDevelop (2.4), keep the same runtime target, set up the command lines I need in the environment, and build the project. This runs just fine. Please specify does not/run open. Robert Sorry, I should have known better. Here's the error: Unhandled Exception: System.TypeLoadException: Could not load type 'PluginProgram.Program' from assembly 'PluginTestProgram, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Thanks, -Jim Stapleton ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] problem installing libgdiplus on amazon linux
Hey. I'm trying to install libgdiplus on my test server, which runs on amazon linux I've downloaded and installed glib 2.2.3 from http://ftp.gnome.org/pub/GNOME/sources/glib/2.2/ And I've downloaded http://ftp.novell.com/pub/mono/sources/libgdiplus/libgdiplus-2.10.tar.bz2 glib compiled and installed without problems, when trying to ./configure libgdiplus, I'm getting following output: checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands +=... yes checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking whether byte ordering is bigendian... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for BASE_DEPENDENCIES... configure: error: Package requirements (glib-2.0 = 2.2.3) were not met: No package 'glib-2.0' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables BASE_DEPENDENCIES_CFLAGS and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. How do I fix this? ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Question on Compatibility
On 26.08.2011 16:19, Stapleton, Steven wrote: I have a project written in Visual Studio 2010, using the .NET 4.0 client framework. The executable it produces does not run/open in Mono. I then open the project in MonoDevelop (2.4), keep the same runtime target, set up the command lines I need in the environment, and build the project. This runs just fine. Please specify does not/run open. Robert Sorry, I should have known better. Here's the error: Unhandled Exception: System.TypeLoadException: Could not load type 'PluginProgram.Program' from assembly 'PluginTestProgram, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Check the casing of PluginTestProgram.exe. Robert ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] problem installing libgdiplus on amazon linux
On 26.08.2011 16:27, Arsen Zahray wrote: (glib-2.0= 2.2.3) were not met: No package 'glib-2.0' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables BASE_DEPENDENCIES_CFLAGS and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. How do I fix this? Install glib. Robert ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Activating SGen Collector in embedded mono
On 26.08.2011 11:32, Elmar Haneke wrote: Im using embeded mono on windows platform. How can I activate the SGen collector or LLVM-code-generation for my application? There is no Windows port of these components. Robert ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Subject: Re: problem installing libgdiplus on amazon linux
Date: Fri, 26 Aug 2011 16:30:09 +0200 From: Robert Jordan robe...@gmx.net Subject: Re: [Mono-list] problem installing libgdiplus on amazon linux To: Mono-list@lists.ximian.com Message-ID: j38alg$gsi$2...@dough.gmane.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed On 26.08.2011 16:27, Arsen Zahray wrote: (glib-2.0= 2.2.3) were not met: No package 'glib-2.0' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables BASE_DEPENDENCIES_CFLAGS and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. How do I fix this? Install glib. Robert I've downloaded and installed glib 2.2.3 from http://ftp.gnome.org/pub/GNOME/sources/glib/2.2/ this is why I am asking this question Arsen ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list