Все вопросы: [mono]

400 вопросов

1
голосов
1ответов
2252 просмотров

Resolving missing dependency libexif.so.9 while trying to Yum install Mono on CentOS 5.3.3

I'm trying to install Mono on CentOS 5.3.3 through Yum. According to the instructions I found elsewhere I grabbed a copy of mono.repo from the Mono site and placed it in the /etc/yum.repos.d directory. The file looks like this: [mono] name=Mono for rhel-4-i386 (stable) baseurl=http://ftp.nove...

1
голосов
1ответов
1850 просмотров

"Mono Debugger" not shown in MonoDevelop "Attach to Process" dialog

I'm running MonoDevelop 2.2 Beta 1 with Mono 2.4.2.3 on Ubuntu 9.04 x64. I've compiled it all from source (had to, since it's a beta version). I have both GDB and MDB debuggers installed. When I open a C# project I can start it in the debugger and stop at a breakpoint, so it looks like the MDB de...

1
голосов
5ответов
266 просмотров

How to talk to a database in a portable way?

I'd like to start an application that makes heavy use of a database, and is supposed to run on Windows under .NET as well as Mac/Linux under Mono. Having done some research, I've realised that neither LINQ-to-SQL nor LINQ-to-Entities are production-ready in Mono at the moment (here and here). Ac...

1
голосов
1ответов
202 просмотров

Gtk.RecentManager: Way to list Items

I wanted to list all my "Recently Used" Items. I use this code: public static void Main(string[] args) { Application.Init (); RecentManager rm = RecentManager.Default; GLib.List items = rm.Items; Console.WriteLine(items.Count+" items."); foreach(object item in items) { ...

3
голосов
2ответов
3177 просмотров

Mono assembly folders?

On a windows system the registry has keys like: HKLM\SOFTWARE\Microsoft\.NETFramework\v2.0.50727\AssemblyFoldersEx for locations of dot net assembly folders other than the gac. Does a non-win mono system have a way of retrieving these or was it just considered not important?

12
голосов
3ответов
4263 просмотров

Why is it not possible to use the MPMoviePlayerController more than once?

In MonoTouch, we ran into this problem with the Movie Player sample in that it would only play the video once, but would not play it a second time. I am asking this question to post an answer, since it has been hitting various folks.

1
голосов
1ответов
611 просмотров

General C# + ASP.net + Mono questions

I recently installed the Mono Framework, .net 3.5 f/w and MonoDevelop (hint: I'm trying to switch over from PHP to C#3 + .net) Even though the Mono installer states that it has installed XSP2 (I can start XSP independently from the context menu), MonoDevelop says that it cannot find XSP2. Bonus Q...

1
голосов
1ответов
971 просмотров

ASP.NET 2.0 Application with a Sqlite Backend on Mono

I have an extensive ASP.NET Sqlite driven application that will run through Apache with the help of Mono. For testing purposes, I created an application that has two textboxes and a button. When the textboxes are filled with text and the button is executed, a Sqlite table will receive the text ...

5
голосов
3ответов
3135 просмотров

How to use LuaInterface on Mono/Linux

When I try to use LuaInterface on Mono on Linux (using Mono 2.0 on Ubuntu 9.04) I get the following exception: ** (App.exe:8599): WARNING **: Method ':.DoDllLanguageSupportValidation ()' in assembly '/home/ulrich/test/Debug/lua51.dll' contains native code that cannot be executed by Mono on th...

1
голосов
2ответов
1007 просмотров

In MonoDevelop, how do I set the application output to a fixed-width font?

I can't find any sort of font settings for Application Output. I'm not sure why it's not fixed-width by default. Any ideas?

98
голосов
4ответов
62505 просмотров

Does .NET have a way to check if List a contains all items in List b?

I have the following method: namespace ListHelper { public class ListHelper<T> { public static bool ContainsAllItems(List<T> a, List<T> b) { return b.TrueForAll(delegate(T t) { return a.Contains(t); });...

0
голосов
2ответов
303 просмотров

Are XmlMtomReader and XmlMtomWriter fully implemented in Mono project?

I'm working on a cross-platform solution currently. The solution uses XmlMtomReader and XmlMtomWriter from .NET framework 3.0. Now i need to know if these two classes (and all the nessasary infrastructure around them) are fully supported in Mono project from the porting-it-to-linux point of vie...

1
голосов
1ответов
319 просмотров

What are the following constructs in Mono.Cecil referring to in C#?

Would someone explain what are these referring to? MemberReference, TypeReference, ExternType, Override, NestedType, PInvokeInfo, SecurityDeclaration and CustomAttribute and MarshalSpec It would be ideal if you can illustrate with examples. I am trying to write a visitor pattern in Mono.Cecil.

10
голосов
5ответов
2495 просмотров

When is mono a good choice over .net?

When is using mono a good choice over using .net for developing a production system? The upfront cost of the tooling is zero, but how does the total cost of development using mono compare to using .net? What is the sweetspot for adopting mono.?

0
голосов
3ответов
630 просмотров

Building Moonlight Trunk - Mono.Cecil.dll

I'm unable to build Mono Moonlight from trunk or from recent tarballs due to the build error below. This happens after Make successfully builds a few other subdirectories: make[2]: Leaving directory `/home/dev/MonoTar/moonlight-1.99.5/src' Making all in class make[2]: Entering directory `/h...

33
голосов
2ответов
15911 просмотров

WCF support in Mono

I am trying to figure out what is and isn't supported for WCF under Mono. I have read the WCF Development Documentation on the Mono Project page. For anyone with experience using WCF under Mono, are there any gotchas I should be aware of?

1
голосов
2ответов
1059 просмотров

What's the main problem of Windows-porting Banshee?

Is it specific to the Banshee project or to the Mono platform as a whole?

0
голосов
1ответов
524 просмотров

mod_mono stability issues

I've read several stablity issues with modmono under high load. The root of the problem is GC and the solution is restarting modmono every n hours, and n should be decreased based on error frequency. I'm planning to develop a heavy load site with mono (I've .net experience and a little java), an...

4
голосов
6ответов
433 просмотров

In which language is each Mono component developed?

According to Wikipedia, Mono has three main components: Core components Mono/Linux/GNOME development stack Microsoft compatibility stack I want to know what the language or technology each one of those components is developed in. EDIT: I know that the some portions of the project is develo...

1
голосов
7ответов
236 просмотров

Writing .NET object in C?

Is there a way to write an object in C/C++ that can be used from .NET? I would like to do it in a most simple way, the one used to extend basically all other languages, i.e. write an object in C, conform to the interface required by the language runtime, use the object from the language.

3
голосов
3ответов
2440 просмотров

Running ASP Classic and .NET on Linux

I'm looking at a product that was coded in a mix of .NET and ASP Classic. I'm wondering if it's possible to get this running in Linux? I've heard of Mono (which can supposedly run .NET on Linux) and Sun Java Web Server (which can supposedly run ASP Classic on Linux). Are there any other technolog...

1
голосов
3ответов
2024 просмотров

C# Gtk NodeView, how to refresh

I am tinkering with treenode widget in Mono. When I have changed the node it dosnt refresh immediately. I only refreshes when I change the selection of the nodeview. How can I force it to refresh immediately after the change?

3
голосов
4ответов
528 просмотров

Writing .NET for Windows via Linux and Mono

For a long time now, I've largely developed using open source languages, toolkits, etc. on Linux and Mac. A new project, though, is about to shove me into the .NET world. Moreover, a .NET world whose products will be deployed to a Windows infrastructure. In my mind, I made the assumption that I ...

13
голосов
1ответов
11464 просмотров

Compile Using MONO - C# with Reference To A C# Library?

I have a C# library (DLL) // ProgramLib.cs // using System; namespace ProgramLibrary { public class Lib { public Lib() { Console.WriteLine("Lib Created"); } } } And I have the following console program // Program.cs // using System; using Pro...

0
голосов
2ответов
1274 просмотров

.NET 2.0 webservice not returning DataTable

I have a webservice method defined as so: [WebMethod] public DataTable GetResponseCodeTypes() { // connect to database and retrieve results, // then populate and return a DataTable } The method has been verified via the webservice test form and returns a DataTable as expected: <?xml ve...

5
голосов
10ответов
1064 просмотров

Would you trust mono as a platform to build an startup?

I got "The question you're asking appears subjective and is likely to be closed." but you can answer YES or NO. -- edit: Subjective questions are those typically answered with an opinion, so what's so bad about asking the opinion of the community? Also BTW, I'm asking for your opinion, your opin...

3
голосов
3ответов
1465 просмотров

Experiences of Mono web development in OSX

I'm a .NET web developer and just bought a new Mac. I'm interested in developing, and debugging .NET in OSX, but I'm not interested in deploying to OSX. Although, in the future, I will be interested in deploying to Linux. What are your experiences with Mono web development in OSX? In particula...

0
голосов
1ответов
517 просмотров

Mono Winforms Problem

Hey , does anyone know why a winform application in windows, reaches via the ending program flow , to the point : this.close (of the main form) , closes the application normaly in windows , but in Mono the windows get stucked... ?

0
голосов
1ответов
738 просмотров

url rewriting for asp.net under mono xsp2

I'm trying to do some asp.net development on a Mac right now and i'm having trouble finding a urlrewriting library that works fine under mono (and the xsp2 webserver) Of course you could write your own, but i have a bunch of rules already created and i dont want to rewrite(!) them in code if don...

0
голосов
1ответов
631 просмотров

Is INotifyPropertyChanged supported by Mono?

I'm currently developing an application that should be able to run under the standard .Net Framework as well as under Mono. I was wondering if I could safely implement INotifyPropertyChanged in my business model and that the Mono Framework would pick it up without extra effort? Is the support of...