[Mono-dev] CodeDomProvider.CreateProvider fails on Windows

Frank Fuchs fk.fuchs at googlemail.com
Mon Aug 2 06:13:48 EDT 2010


No this does not seem to be the cause. Any further suggestions? I will try
to assemble a test case.
May be it's related to this  thing here (
http://unity3d.com/unity/whats-new/unity-2.6 ... they mention a failing
CreateProvider)

- Frank


> Message: 1
> Date: Thu, 29 Jul 2010 19:16:32 +0200
> From: Robert Jordan <robertj at gmx.net>
> Subject: Re: [Mono-dev] CodeDomProvider.CreateProvider fails on
>        Windows
> To: mono-devel-list at lists.ximian.com
> Message-ID: <i2sd1u$hse$1 at dough.gmane.org>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hey,
>
> On 29.07.2010 18:52, Frank Fuchs wrote:
> > Yes I did. otherwise the mono_jit_init  wouldn't work, and I was not able
> to start the C# routines.
>
> Yeah, my bad.
>
> I believe the issue is more profane: Mono is trying to launch
> gmcs with bin/gmcs.bat, but the latter contains absolute paths
> set by the Mono installer => the script is not relocatable.
>
> Change gmcs.bat to look like this:
>
> @"%~dp0\mono.exe" %MONO_OPTIONS% "%~dp0\..\lib\mono\2.0\gmcs.
> exe" %*
>
>
> %~dp0 (a cmd.exe variable) is expanded to the actual path of
> gmcs.bat, making the script relocatable.
>
> Robert
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20100802/db7e779f/attachment.html 


More information about the Mono-devel-list mailing list