[Mono-dev] Problems trying to compile Plastic on Linux

pablosantosluac pablosantosluac at terra.es
Tue Jul 3 05:56:53 EDT 2007


Hi,

The assembly info doesn't contain a key file.

using System.Reflection;

using System.Runtime.CompilerServices;

[assembly: AssemblyDescription("BL063")]

[assembly: AssemblyConfiguration("")]

[assembly: AssemblyCompany("Codice Software, S.L.")]

[assembly: AssemblyProduct("Plastic")]

[assembly: AssemblyCopyright("2007")]

[assembly: AssemblyTrademark("2007")]

[assembly: AssemblyCulture("")]

[assembly: AssemblyVersion("1.5.63.0")]

[assembly: AssemblyDelaySign(false)]

[assembly: AssemblyKeyFile("")]


The NANT Version is quite old:

NAnt 0.85 (Build 0.85.1932.0; rc3; 16/04/2005)

But I tried with the last one included in one of the latest Mono VMWare 
machines and it fails too.

pablo


----- Original Message ----- 
From: "Gert Driesen" <gert.driesen at telenet.be>
To: "Paolo Molaro" <lupus at ximian.com>; <mono-devel-list at lists.ximian.com>
Sent: Tuesday, July 03, 2007 11:43 AM
Subject: Re: [Mono-dev] Problems trying to compile Plastic on Linux


>
> ----- Original Message ----- 
> From: "Paolo Molaro" <lupus at ximian.com>
> To: <mono-devel-list at lists.ximian.com>
> Sent: Tuesday, July 03, 2007 11:29 AM
> Subject: Re: [Mono-dev] Problems trying to compile Plastic on Linux
>
>
>> On 06/29/07 pablosantosluac wrote:
>>> I'm trying to compile the plastic server on linux using mono + NANT.
>>>
>>> It compiles all  the .dll and even the .exe targets, but at the end it
>>> fails:
>> [...]
>>>                                [al] Starting mono ("al.exe"
>>> @"/tmp/tmp3e9e47fd.tmp"
>>> /embed:"/home/CODICE/pablo/wk_pablo_juno/01nerva/src/server/loader/loaderTranslations.es.resources",loader.loaderTranslations.es.resources)'
>>> in '/home/CODICE/pablo/wk_pablo_juno/01nerva/'
>>>                                [al] ALINK: error A1044: Couldn't open
>>> '/home/CODICE/pablo/wk_pablo_juno/01nerva/bin/server' key file.
>>>
>>>             BUILD FAILED - 0 non-fatal error(s), 45 warning(s)
>>>
>>>             External Program Failed: al.exe (return code was 1):
>>>             NAnt.Core.BuildException: External Program Failed: al.exe
>>> (return code was 1)
>>>               at NAnt.Core.Tasks.ExternalProgramBase.ExecuteTask ()
>>> [0x00000]
>> [...]
>>> We do use a signed assembly but it is a .dll (the first one to be
>>> compiled,
>>> and it seems without problems).
>>>
>>> I guess it must be very simple, but I don't understand what key file
>>> ALINK
>>> is complaining about....
>
> Can you check what the value of the AssemblyKeyFile attribute is in the
> assembly for which you're creating the satellite assembly ?
>
> AL will use that value to load the key from if the keyfile argument is not
> specified on the commandline (by NAnt).
>
> Also, what version of NAnt are you using ?
>
> Gert
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list 




More information about the Mono-devel-list mailing list