Re: [Mono-aspnet-list] compile Masterpage's masterpage

2014-03-28 Thread south9204
I thought it is a asp.net question, nothing to do with mono. One way I came up with is inherit you masters from some class that can be built to a dll and put it in bin folder, And if you are doing some mobile app that runs most of env. with c#, I don't know any way you can drop mono and go

[Mono-aspnet-list] Problem With Mono + Apache2 with Mod-Mono

2014-03-28 Thread junalmeida
I'm trying to configure my MVC ASP-NET 4 application with mod_mono and apache2. I can successfully run the application when the machine comes from a reboot (or restarting services and clearing temp files). All works fine. The problem is when I try to recompile the binary and replace it on the

Re: [Mono-aspnet-list] Problem With Mono + Apache2 with Mod-Mono

2014-03-28 Thread south9204
I don’t think mod-mono-server4 2.10.0 is ok for apache2.4 Try: 1. Use apache 2.2 2. Or http://www.pokorra.de/2013/12/ to use tpokorra’ mod_mono-opt, but this is not stable version? tpokorra? -- View this message in context:

Re: [Mono-aspnet-list] compile Masterpage's masterpage

2014-03-28 Thread south9204
the compiler doesn't recurse all the way down that's needed,, true as the original Windows compiler does. , I don't think so, windows compile will do the same but there are something like MSBuild(M$) or xbuild(mono), their job is about to tell compiler to do what, you can try. I have to say

Re: [Mono-aspnet-list] Problem With Mono + Apache2 with Mod-Mono

2014-03-28 Thread miniBill
Why are you using a 2.10 mod_mono? Il 28/mar/2014 13:06 Marcos Junior junalme...@gmail.com ha scritto: I'm trying to configure my MVC ASP-NET 4 application with mod_mono and apache2. I can successfully run the application when the machine comes from a reboot (or restarting services and

Re: [Mono-aspnet-list] compile Masterpage's masterpage

2014-03-28 Thread barrct
user@server:site_dir# xbuild MSBUILD: error MSBUILD0003: Please specify the project or solution file to build, as none was found in the current directory. There is no project file in a website. This is a simple, pure C# ASP.NET site that dynamically loads data. Even if this was a project, are

Re: [Mono-dev] mono and unmanaged code

2014-03-28 Thread mickeyf
Yes, you should compile your dll in the environment in which it will run, or use a cross compiler targeted to that environment. If you don't have the source I suspect you are out of luck. There is much more to it than simply fiddling with the headers. You may be able to use something like wine,

[Mono-dev] Show thread names with ps or top?

2014-03-28 Thread mickeyf
I can show the threads associated with my process using ps or top, but not their names. Should I expect to be able to show the names of threads that were named in mono using myThread.Name = whatever? If so, how? Or is this information not available at that level? Thanks -- View this

[Mono-dev] mono and unmanaged code

2014-03-28 Thread Greg
Greetings, I'm new to using mono. I have a Windows application that I have developed in C# with some P/Invoke calls to an unmanaged dll. I am attempting to run this thing in a Linux environment, but am having issues with the unamanged calls (exact error is given below). After a fair amount of

Re: [Mono-dev] Running sample app--Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly 'System.Web'.

2014-03-28 Thread Henrik Elkjær Hagen
Hi, I just had the same issue. Did you resolve it? If so, how? Best Regards Henrik Hagen ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list

[Mono-dev] [MONO][GAC] System.DirectoryServices.Protocols not installed in gac

2014-03-28 Thread boisse_r
Hello, It seems that the assembly System.DirectoryServices.Protocols​ is not installed in the GAC. Is it a real problem or just my mistake? Best regards, --  Raphael Boissel EPITA 2014 ___ Mono-devel-list mailing list

[Mono-dev] Printing under Windows with Gtk#

2014-03-28 Thread Mikkel Kruse Johnsen
Hi I have updated to Mono 3.2.8 on Windows and is unable to print with Gtk# (gtk3). Everything else is working with Gtk#, but when trying to print, not print dialog is opened and the program hangs. * I have [STAThread] on my main function. * gtk3-demo.exe is able to print. * I have testet with

Re: [Mono-dev] mono and unmanaged code

2014-03-28 Thread Jonathan Pryor
On Mar 19, 2014, at 12:33 AM, Greg gregorymors...@gmail.com wrote: I believe the calls are failing because the unamanged dll has not been compiled in the native environment. Is this true, or should mono be able to handle unmanaged dlls that were compiled in Windows? Mono does not support

Re: [Mono-dev] mono and unmanaged code

2014-03-28 Thread Vincent Povirk
If that isn’t possible, you should look into using Wine. Mono should run atop Wine (last I heard…), so this may be a viable solution for you. The default for Wine nowadays (since 1.5 or so) is to install Mono automatically (for various reasons, it uses a special Windows build) and use it to

Re: [Mono-dev] [MONO][GAC] System.DirectoryServices.Protocols not installed in gac

2014-03-28 Thread Rafael Teixeira
AFAIK Mono doesn't implement this specific library. Code was just stubbed 5 years ago as seen in https://github.com/mono/mono/blob/master/mcs/class/System.DirectoryServices.Protocols/System.DirectoryServices.Protocols.dll.sources Rafael Teixeira O..:.) On Sat, Mar 22, 2014 at 7:51 PM,

[Mono-list] Do good practices and performance tips in .NET apply to Mono too?

2014-03-28 Thread Casto
Hi, It is quite difficult to find some articles that talk about performance optimizations and good practices (concerning performance) specifically for *Mono* programing. As Mono is different from .NET, I guess the compiler optimizes the code differently and produces different bytecode. The GC is

Re: [Mono-list] Mono memory usage 50 times large than python of repeat code, gc bug?

2014-03-28 Thread 613038475
Same code with microsoft .net framework 4.5 use just 12mb and its much faster than mono, mono is a piece of *hit. -- View this message in context: http://mono.1490590.n4.nabble.com/Mono-memory-usage-50-times-large-than-python-of-repeat-code-gc-bug-tp4662350p4662375.html Sent from the Mono -

[Mono-list] mono is coming back M$ soon

2014-03-28 Thread south9204
http://www.crn.com/news/mobility/300072056/sources-microsoft-in-talks-to-acquire-mobile-app-development-startup-xamarin.htm -- View this message in context: http://mono.1490590.n4.nabble.com/mono-is-coming-back-M-soon-tp4662290.html Sent from the Mono - General mailing list archive at

Re: [Mono-list] Do good practices and performance tips in .NET apply to Mono too?

2014-03-28 Thread 613038475
Just use microsoft .Net when you can, optimization is futile if framework is fat and slow. -- View this message in context: http://mono.1490590.n4.nabble.com/Do-good-practices-and-performance-tips-in-NET-apply-to-Mono-too-tp4662355p4662376.html Sent from the Mono - General mailing list archive

[Mono-list] ConfigurationManager.ConnectionStrings is NULL

2014-03-28 Thread weng nanshan
Hi,all I am runing a web application on mono. There is a strange problem. I define a database connection string in Web.config file, as the following: connectionStrings add name=MySqlConnectionStr connectionString=server=localhost;database=dbmy;password=123456;user=root;port=3306;/

Re: [Mono-list] Do good practices and performance tips in .NET apply to Mono too?

2014-03-28 Thread David Curylo
Much of that book still applies, as they are good techniques to optimize your code, regardless of the implementation specifics of the runtime. Not 100%, though. Several things that will be different: * Profiling - you should become familiar with the mono framework profiler. Quick guide is