[Mono-dev] Unhandled Exception: System.Resources.MissingManifestResourceException:

SuperAfton23 superafton23 at mt2009.com
Fri Mar 20 01:01:14 EDT 2009


Hey,
Sorry but I'm a noobie at C# devel, so this is going to be kind of a stupid
question.
My C# program is in fact fully debugged its just that it was original
developed on windows in visual studios and now I need to get it to compile
under linux, so I'm using mono to do this. 

My problem is I don't know how to compile this program from the command
line.
I know to use gmcs -recurse:*.cs -pkg:dotnet to compile it but when I run it
with mono, $ mono *.exe, I get this error:

Unhandled Exception: System.Resources.MissingManifestResourceException:
Could not find any resources appropriate for the specified culture or the
neutral culture.  Make sure "S_Plot.MainForm.resources" was correctly
embedded or linked into assembly "AssemblyInfo" at compile time, or that all
the satelllite assemblies required are loadable and fully signed. 

I realize this has something to do with the .resx files, so I tried
converting them with resgen, but I'm not sure how to add resource files in
separate directories to the gmcs compile command.

Here is the directory tree:

$ tree
.
|-- S-Plot
|   |-- App.ico
|   |-- AssemblyInfo.cs
|   |-- Core
|   |   |-- AverageAndDeviation.cs
|   |   |-- Gene.cs
|   |   |-- ItemAttributes.cs
|   |   |-- PearsonCC.cs
|   |   |-- SPlot.cs
|   |   |-- Sequence.cs
|   |   `-- WindowPosition.cs
|   |-- Images
|   |   |-- Thumbs.db
|   |   |-- ZoomIn.bmp
|   |   `-- ZoomOut.bmp
|   |-- MainForm.cs
|   |-- MainForm.resx
|   |-- S-Plot.csproj
|   |-- S-Plot.csproj.user
|   |-- Settings
|   |   `-- ZoomFactors.xml
|   |-- Settings.xml
|   `-- UI
|       |-- ColorFilter.cs
|       |-- ColorFilter.resx
|       |-- ColorScaleForm.cs
|       |-- ColorScaleForm.resx
|       |-- ImageView.cs
|       |-- SPlotPanel.cs
|       |-- SPlotPanel.resx
|       |-- StatisticsForm.cs
|       |-- StatisticsForm.resx
|       |-- UserControlWithScrollEvents.cs
|       `-- UserControlWithScrollEvents.resx
|-- S-Plot.sln
`-- S-Plot.suo

Could somebody be kind enough to tell me how to compile this program?


-- 
View this message in context: http://www.nabble.com/Unhandled-Exception%3A-System.Resources.MissingManifestResourceException%3A-tp22614367p22614367.html
Sent from the Mono - Dev mailing list archive at Nabble.com.



More information about the Mono-devel-list mailing list