Re: Mono
От: Ziaw Россия  
Дата: 07.03.12 08:10
Оценка: 1 (1)
Здравствуйте, _NN_, Вы писали:

_NN>В Mono 2.11 опция /debug:Full должна быть записана как /debug:full

_NN>Кто ее устанавливает и как это исправить ?

Подозреваю, что здесь:
https://github.com/Ziaw/nemerle/blob/master/Nemerle.XBuild.Tasks.csproj#L23
Mono
От: _NN_ www.nemerleweb.com
Дата: 07.03.12 07:13
Оценка:
В Mono 2.11 опция /debug:Full должна быть записана как /debug:full
Кто ее устанавливает и как это исправить ?

$ xbuild NemerleAll-Mono.nproj /t:Stage1

XBuild Engine Version 2.11.0.0
Mono, Version 2.11.0.0
Copyright (C) Marek Sieradzki 2005-2008, Novell 2008-2011.

Build started 07/03/2012 2:07:44 AM.
__________________________________________________
Project "/home/q/nemerle/NemerleAll-Mono.nproj" (Stage1 target(s)):
        Target NPrepareKeys:
                Creating directory '/home/q/nemerle/bin/Debug/mono-3.5/keys'
                Copying file from '/home/q/nemerle/misc/keys/Nemerle.Compiler.snk' to '/home/q/nemerle/bin/Debug/mono-3.5/keys/Nemerle.Compiler.snk'
                Copying file from '/home/q/nemerle/misc/keys/Nemerle.Evaluation.snk' to '/home/q/nemerle/bin/Debug/mono-3.5/keys/Nemerle.Evaluation.snk'
                Copying file from '/home/q/nemerle/misc/keys/Nemerle.snk' to '/home/q/nemerle/bin/Debug/mono-3.5/keys/Nemerle.snk'
        Target NPrepareBoot:
                Creating directory '/home/q/nemerle/bin/Debug/mono-3.5/boot/'
                Copying file from '/home/q/nemerle/boot/ncc.exe' to '/home/q/nemerle/bin/Debug/mono-3.5/boot/ncc.exe'
                Copying file from '/home/q/nemerle/boot/ncc32.exe' to '/home/q/nemerle/bin/Debug/mono-3.5/boot/ncc32.exe'
                Copying file from '/home/q/nemerle/boot/ncc64.exe' to '/home/q/nemerle/bin/Debug/mono-3.5/boot/ncc64.exe'
                Copying file from '/home/q/nemerle/boot/true.exe' to '/home/q/nemerle/bin/Debug/mono-3.5/boot/true.exe'
                Copying file from '/home/q/nemerle/boot/Nemerle.Compiler.dll' to '/home/q/nemerle/bin/Debug/mono-3.5/boot/Nemerle.Compiler.dll'
                Copying file from '/home/q/nemerle/boot/Nemerle.Macros.dll' to '/home/q/nemerle/bin/Debug/mono-3.5/boot/Nemerle.Macros.dll'
                Copying file from '/home/q/nemerle/boot/Nemerle.dll' to '/home/q/nemerle/bin/Debug/mono-3.5/boot/Nemerle.dll'
        Target InitTools:
                Framework tools found at:
                     XBuild   - /usr/local/lib/mono/2.0/../../../bin/xbuild
                     NGen     - /usr/local/lib/mono/2.0/../../../bin/ngen
                SDK tools found at:
                     GacUtil  - /usr/local/lib/mono/2.0/../../../bin/gacutil
                     Ildasm   - /usr/local/lib/mono/2.0/../../../bin/ildasm
                     PEVerify - /usr/local/lib/mono/2.0/../../../bin/peverify
        Target NTasks:
                Project "/home/q/nemerle/Nemerle.XBuild.Tasks.csproj" (Rebuild target(s)):
                        Target PrepareForBuild:
                                Configuration: Debug Platform: AnyCPU
                                Created directory "/home/q/nemerle/obj/Debug/mono-3.5//Tasks/"
                        Target GenerateSatelliteAssemblies:
                        No input files were specified for target GenerateSatelliteAssemblies, skipping.
                        Target CoreCompile:
                                Tool /usr/local/bin/gmcs execution started with arguments: /noconfig /debug:Full /debug+ /keyfile:/home/q/nemerle/bin/Debug/mono-3.5//keys/Nemerle.Compiler.snk /optimize- /out:/home/q/nemerle/obj/Debug/mono-3.5//Tasks/Nemerle.XBuild.Tasks.dll tools/msbuild-task/Properties/AssemblyInfo.cs tools/msbuild-task/MSBuildTask.cs /target:library /warnaserror- /unsafe- /checked- /define:"MONO;DEBUG;TRACE" /platform:AnyCPU /reference:/usr/local/lib/mono/2.0/Microsoft.Build.Engine.dll /reference:/usr/local/lib/mono/2.0/Microsoft.Build.Framework.dll /reference:/usr/local/lib/mono/2.0/Microsoft.Build.Tasks.dll /reference:/usr/local/lib/mono/2.0/Microsoft.Build.Utilities.dll /reference:/usr/local/lib/mono/2.0/System.dll /reference:/usr/local/lib/mono/2.0/System.Core.dll /reference:/usr/local/lib/mono/2.0/System.Xml.dll /warn:4
: error CS1902: Invalid debug option `Full'. Valid options are `full' or `pdbonly'
                        Task "Csc" execution -- FAILED
                        Done building target "CoreCompile" in project "/home/q/nemerle/Nemerle.XBuild.Tasks.csproj".-- FAILED
                Done building project "/home/q/nemerle/Nemerle.XBuild.Tasks.csproj".-- FAILED
        Task "MSBuild" execution -- FAILED
        Done building target "NTasks" in project "/home/q/nemerle/NemerleAll-Mono.nproj".-- FAILED
Done building project "/home/q/nemerle/NemerleAll-Mono.nproj".-- FAILED

Build FAILED.
Errors:

/home/q/nemerle/NemerleAll-Mono.nproj (Stage1) ->
(NTasks target) ->
/home/q/nemerle/Nemerle.XBuild.Tasks.csproj (Rebuild) ->
/usr/local/lib/mono/3.5/Microsoft.CSharp.targets (CoreCompile target) ->

        : error CS1902: Invalid debug option `Full'. Valid options are `full' or `pdbonly'

         0 Warning(s)
         1 Error(s)

Time Elapsed 00:00:02.7446160
http://rsdn.nemerleweb.com
http://nemerleweb.com
Re: Mono
От: hardcase Пират http://nemerle.org
Дата: 07.03.12 08:33
Оценка:
Здравствуйте, _NN_, Вы писали:

_NN>Кто ее устанавливает и как это исправить ?


Очевидно таск мсбилдовый.
/* иЗвиНите зА неРовнЫй поЧерК */
Re: Mono
От: hardcase Пират http://nemerle.org
Дата: 07.03.12 08:34
Оценка:
Здравствуйте, _NN_, Вы писали:

_NN>Кто ее устанавливает и как это исправить ?


Исправить можно очень просто: добавить ToLowerInvariant в парсер командной строки компилятора.
/* иЗвиНите зА неРовнЫй поЧерК */
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.