Mono is a set of build tools. Before and after version 5.0, Mono tools never worked, except% with%. To clarify, although the version is not related to the problem, since the version 5.0 Mono integrated .NET tools such as csc
, msbuild
etc. and obsoletando some ( nuget
and maybe more). Mono also has the xbuild
tool that does not work correctly even today ... Everything from Windows 8 (.1) to Windows 10, to me Mono never did anything.
mkbundle
exports applications to executables, installers, etc. Now it works instead of exporting error, but it generates failed executables that print mkbundle
instead of Error mapping file: No error
.
Olá, mundo!
failed with:
TurboCS.csproj(11,9): error MSB6006: "csc.exe" foi encerrado com o código 1.
Full log:
Compilação de 28/10/2018 08:03:33 iniciada.
Projeto "D:\home\hydroper\Sources\CS\MyTools\$Withdrawn-TurboCS\TurboCS.csproj" no nó 1 (destinos padrão).
Build:
C:\Program Files\Mono\lib\mono\msbuild.0\bin\Roslyn\csc.exe /out:targetTurboCS.exe src\Entry.cs
D:\home\hydroper\Sources\CS\MyTools\$Withdrawn-TurboCS\TurboCS.csproj(11,9): error MSB6006: "csc.exe" foi encerrado com
o código 1.
Projeto de compilação pronto "D:\home\hydroper\Sources\CS\MyTools\$Withdrawn-TurboCS\TurboCS.csproj" (destinos padrão)
-- FALHA.
FALHA da compilação.
"D:\home\hydroper\Sources\CS\MyTools\$Withdrawn-TurboCS\TurboCS.csproj" (destino padrão) (1) ->
(Build destino) ->
D:\home\hydroper\Sources\CS\MyTools\$Withdrawn-TurboCS\TurboCS.csproj(11,9): error MSB6006: "csc.exe" foi encerrado c
om o código 1.
0 Aviso(s)
1 Erro(s)
Tempo Decorrido 00:00:00.98
And here's my CSProj, according to documentation :
<Project DefaultTargets='Build' xmlns='http://schemas.microsoft.com/developer/msbuild/2003'>
<PropertyGroup>
<AssemblyName>TurboCS</AssemblyName>
<OutputPath>target</OutputPath>
</PropertyGroup>
<ItemGroup>
<Compile Include='src/*.cs'/>
</ItemGroup>
<Target Name='Build'>
<MakeDir Directories="$(OutputPath)" Condition="!Exists('$(OutputPath)')"/>
<Csc Sources="@(Compile)" OutputAssembly="$(OutputPath)$(AssemblyName).exe"/>
</Target>
<Target Name='Clean'>
<Delete Files="$(OutputPath)$(AssemblyName).exe"/>
</Target>
<Target Name='Rebuild' DependsOnTargets='Clean;Build'/>
</Project>
Any ideas?