[MonoDevelop] problem with import and resources

pissblach pissblach at gmail.com
Fri Aug 19 07:23:41 EDT 2005


hi,

i am porting a project from VS C# 2003 to mono using mono-develop.

the first problem i have encountered was, that importing from VS .NET
does not work.
it can not find a *.cmbx file.  VS does not created such a file.

i have now created an empty project and just included the files and
adjusted the
sources so that they compile.
the problem i have now, is that i can not include any resources and i
get an exception
when executing.

EXCEPTION <Main> exception: Could not find any resource appropiate for the
specified culture or its parents. Make sure
"test.main.CMainWin.resources" was correctly embedded or linked into
assembly "monoContractOrganizer"., stackTrace = in <0x002fd>
System.Resources.ResourceManager:InternalGetResourceSet
(System.Globalization.CultureInfo culture, Boolean Createifnotexists,
Boolean tryParents)

if i go on recources and say "add resource" then i can choose the resource which
has been created by VS, but it does not get included and obviously not compiled.
if i include them in the normal source folder and set them to compile,
then that does
not work either.

i am using:
mono-develop: 0.7
mono-1.1.8.3


has anyone got an idea ?

thanx
   Martin


More information about the Monodevelop-list mailing list