[Mono-dev] CodeDomProvider.CreateProvider fails on Windows
robertj at gmx.net
Mon Aug 2 07:53:19 EDT 2010
On 02.08.2010 12:13, Frank Fuchs wrote:
> 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
Did you check whether the BAT file was invoked or whether the
BAT file is working standalone?
> - 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
>> 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
>> 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.
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
More information about the Mono-devel-list