Menu

Builds fine for Mono in MonoDevelop

MidBSD
2006-04-13
2013-04-02
  • MidBSD

    MidBSD - 2006-04-13

    I know that this project is for Visual Studio users but I've used VS projects on Mono before without a hitch and I have a feeling this one is a simple problem that could be fixed quite easily (for someone who understands the system).

    Here's my setup:

    OS: FreeBSD 6.0
    Mono: mono-1.1.13.2_1
    DotNetOpenMail: DotNetOpenMail-0.5.7b

    I'm importing the Visual Studio project and building it fine under Mono.

    There are 6 warnings but I get a dll at the end which I drop into my Bin directory. I then include a reference to the DotNetOpenMail library.

    I then use the first example from the examples page (with changed email addresses) to send a test email but I get the following error:

    System.Resources.MissingManifestResourceException: Could not find any resource appropiate for the specified culture or its parents. Make sure "DotNetOpenMail.Resources.DotNetOpenMail.resources" was correctly embedded or linked into assembly "DotNetOpenMail".

    I've done quite a lot of Googling about this and this is what I came up with:

    http://lists.ximian.com/pipermail/monodevelop-list/2005-August/002425.html

    It appears the problem is the way the namespaces are being handled. So why has this only happened with this library and not the 3 or 4 other Visual Studio libraries I've imported and compiled?

    Anyway, I've tried playing around with things in MonoDevelop and even tried editing some of the code but I'm getting nowhere.

    Does anyone have any idea how I can resolve this?

     
    • Mike Bridge

      Mike Bridge - 2006-04-21

      Hi-

      Did you manage to find a solution for this?  I don't have a Mono installation to test it on, but there are some other people using under Mono, e.g. the SharpWebMail project (http://anmar.eu.org/projects/sharpwebmail/).  You might want to check there to see how he does it.

      -Mike

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.