[Mono-list] ResourceManager
Julien Sobrier
julien at sobrier.net
Wed Nov 16 12:31:40 EST 2005
Hello,
I have a problem with this code:
using System;
using System.Collections;
using System.Resources;
using System.Reflection;
public void resource()
{
ResourceManager rm = new
ResourceManager(Assembly.GetExecutingAssembly());
string name = rm.GetString("MediaInfoDB.sql");
}
"The best overloaded method match for
System.ResourceManager.ResourceManager(System.Type) has some invalid
arguments
Cannot convert from System.Reflection.Assembly to System.Type"
This code should work fine with .Net/Windows.
I'm using Mono 1.1.10?
What shoud I use as System.Type in ResourceManager ?
Thank you
Julien
More information about the Mono-list
mailing list