[MonoDevelop] Winforms app MissingManifestResourceException

Rafael Teixeira monoman at gmail.com
Mon Nov 13 17:44:22 EST 2006


Hi Sorin, just a warning,

Last time I saw it, the proprietary license of the Enterprise Library
(read the EULA), prohibits you to compile/run it in any other OS other
than Windows, I don't remember if it also prohibits you to run it with
other framework implementation, like Mono, in Windows, but it may
also.

So please, be careful, not to buy you some legal problems.

:)

On 11/13/06, Sorin Peste <neaorin at gmail.com> wrote:
> I'm trying to build Microsoft's Enterprise Library (the 1.1, June 2005
> version) under Mono. I have imported the VS solution in Monodevelop and
> (after a bit of tweaking) I have managed to build it, but I get an
> exception when trying to run the Configuration Console I just built.
> This is a Windows.Forms 1.1 app. The exception is:
>
> Unhandled Exception: System.Resources.MissingManifestResourceException:
> Could not find any resource appropiate for the specified culture or its
> parents. Make sure
> "Microsoft.Practices.EnterpriseLibrary.Tools.ConfigurationConsole.MainForm.resources"
> was correctly embedded or linked into assembly "EntLibConfig".
>
> When inspecting the assembly with Reflector, I can see that specific
> resource was embedded as
>
> MainForm.resx
>
> whereas the MS .NET (csc.exe) version has it embedded as
>
> Microsoft.Practices.EnterpriseLibrary.Tools.ConfigurationConsole.MainForm.resources
>
> The resource file name is MainForm.resx. Is there a way to specify in
> Monodevelop how this should be embedded ?
>
> I have since managed to build it correctly by hand, using mcs and the
> -resource switch; I'm getting another runtime error which is probably
> related to mono / mcs, and I'll post it in the appropriate list.
>
> Almost forgot: mono 1.2 (SUSE RPM), monodevelop 0.12 (RPM), SUSE Linux i386.
>
> Thanks,
> Sorin
>
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>


-- 
Rafael "Monoman" Teixeira
---------------------------------------
"The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man." George Bernard Shaw


More information about the Monodevelop-list mailing list