Csc.exe error code 13


#1

I am building a project on Ubuntu and I get a error from dotnet msbuild of csc.exe exited with error code 13. I can’t find the error code anywhere. I would greatly apprciate any help with what this error is and what it means.

uname -a
Linux ip-172-31-3-19 4.4.0-59-generic #80-Ubuntu SMP Fri Jan 6 17:47:47 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

My csproj file contains this

../References/dotnet/code-1.1.0 ../References/dotnet/code-1.1.0 ../References/dotnet/code-1.0.0 $(TargetFrameworkRootPath)\CoreCLR\v5.0 library

The output looks like:

Microsoft ® Build Engine version 15.1.509.30326
Copyright © Microsoft Corporation. All rights reserved.

/home/ubuntu/bin/sdk/1.0.0-preview5-004478/MSBuild.dll /ds /Logger:Microsoft.DotNet.Tools.MSBuild.MSBuildLogger,/home/ubuntu/bin/sdk/1.0.0-preview5-004478/dotnet.dll /m /target:Build /v:m /v:diag M2Mqtt.csproj
Build started 1/17/17 10:03:05 PM.
Environment at start of build:
MSBuildLoadMicrosoftTargetsReadOnly = true
TERM = screen
LESSCLOSE = /usr/bin/lesspipe %s %s
SHELL = /bin/bash
CscToolExe = /home/ubuntu/bin/sdk/1.0.0-preview5-004478/Roslyn/RunCsc.sh
WINDOW = 0
PWD = /home/ubuntu/CM/CM.net/M2Mqtt
_ = /home/ubuntu/bin/dotnet
SHLVL = 2
LOGNAME = ubuntu
SSH_CLIENT = 38.109.141.124 65405 22
TERMCAP = SC|screen|VT 100/ANSI X3.64 virtual terminal:
:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:bs:bt=\E[Z:
:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:ct=\E[3g:
:do=^J:nd=\E[C:pt:rc=\E8:rs=\Ec:sc=\E7:st=\EH:up=\EM:
:le=^H:bl=^G:cr=^M:it#8:ho=\E[H:nw=\EE:ta=^I:is=\E)0:
:li#24:co#80:am:xn:xv:LP:sr=\EM:al=\E[L:AL=\E[%dL:
:cs=\E[%i%d;%dr:dl=\E[M:DL=\E[%dM:dc=\E[P:DC=\E[%dP:
:im=\E[4h:ei=\E[4l:mi:IC=\E[%d@:ks=\E[?1h\E=:
:ke=\E[?1l\E>:vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l:
:ti=\E[?1049h:te=\E[?1049l:us=\E[4m:ue=\E[24m:so=\E[3m:
:se=\E[23m:mb=\E[5m:md=\E[1m:mh=\E[2m:mr=\E[7m:
:me=\E[m:ms:
:Co#8:pa#64:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:AX:
:vb=\Eg:G0:as=\E(0:ae=\E(B:
:ac=\140\140aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~…–++,hhII00:
:po=\E[5i:pf=\E[4i:Km=\E[M:k0=\E[10~:k1=\EOP:k2=\EOQ:
:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:k7=\E[18~:
:k8=\E[19~:k9=\E[20~:k;=\E[21~:F1=\E[23~:F2=\E[24~:
:F3=\E[1;2P:F4=\E[1;2Q:F5=\E[1;2R:F6=\E[1;2S:
:F7=\E[15;2~:F8=\E[17;2~:F9=\E[18;2~:FA=\E[19;2~:kb=:
:K2=\EOE:kB=\E[Z:kF=\E[1;2B:kR=\E[1;2A:4=\E[3;2~:
:7=\E[1;2F:#2=\E[1;2H:#3=\E[2;2~:#4=\E[1;2D:%c=\E[6;2~:
:%e=\E[5;2~:%i=\E[1;2C:kh=\E[1~:@1=\E[1~:kH=\E[4~:
:@7=\E[4~:kN=\E[6~:kP=\E[5~:kI=\E[2~:kD=\E[3~:ku=\EOA:
:kd=\EOB:kr=\EOC:kl=\EOD:km:
XDG_SESSION_ID = 153
DISPLAY = localhost:10.0
LANG = en_US.UTF-8
LESSOPEN = | /usr/bin/lesspipe %s
LS_COLORS = rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:
.tar=01;31:
.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.Z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.jpg=01;35:.jpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:.xspf=00;36:
SSH_TTY = /dev/pts/0
SSH_CONNECTION = 38.109.141.124 65405 172.31.3.19 22
MSBuildSDKsPath = /home/ubuntu/bin/sdk/1.0.0-preview5-004478/Sdks
DOTNET_CLI_TELEMETRY_SESSIONID = cc0ffd57-5e77-4540-bbb1-1d716e27cf0f
XDG_RUNTIME_DIR = /run/user/1000
STY = 17753.pts-0.ip-172-31-3-19
USER = ubuntu
MSBuildExtensionsPath = /home/ubuntu/bin/sdk/1.0.0-preview5-004478
PATH = /home/ubuntu/bin:/home/ubuntu/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
MAIL = /var/mail/ubuntu
OLDPWD = /home/ubuntu/CM/CM.net
HOME = /home/ubuntu

Project “/home/ubuntu/CM/CM.net/M2Mqtt/M2Mqtt.csproj” on node 1 (Build target(s)).
Initial Properties:
_ = /home/ubuntu/bin/dotnet
CscToolExe = /home/ubuntu/bin/sdk/1.0.0-preview5-004478/Roslyn/RunCsc.sh
DISPLAY = localhost:10.0
DOTNET_CLI_TELEMETRY_SESSIONID = cc0ffd57-5e77-4540-bbb1-1d716e27cf0f
FrameworkPathOverride = …/References/dotnet/code-1.0.0/CoreCLR/v5.0
HOME = /home/ubuntu
LANG = en_US.UTF-8
LESSCLOSE = /usr/bin/lesspipe %s %s
LESSOPEN = | /usr/bin/lesspipe %s
LocalAppData = /home/ubuntu
LOGNAME = ubuntu
LS_COLORS = rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.Z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.jpg=01;35:.jpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:.xspf=00;36:
MAIL = /var/mail/ubuntu
MSBuildAssemblyVersion = 15.0
MSBuildBinPath = /home/ubuntu/bin/sdk/1.0.0-preview5-004478
MSBuildExtensionsPath = /home/ubuntu/bin/sdk/1.0.0-preview5-004478
MSBuildExtensionsPath32 = /home/ubuntu/bin/sdk/1.0.0-preview5-004478
MSBuildExtensionsPath64 = /home/ubuntu/bin/sdk/1.0.0-preview5-004478
MSBuildFrameworkToolsRoot = /home/ubuntu/bin/shared/Microsoft.NETCore.App
MSBuildLoadMicrosoftTargetsReadOnly = true
MSBuildNodeCount = 1
MSBuildProgramFiles32 = /user/bin
MSBuildProjectDirectory = /home/ubuntu/CM/CM.net/M2Mqtt
MSBuildProjectDirectoryNoRoot = home/ubuntu/CM/CM.net/M2Mqtt
MSBuildProjectExtension = .csproj
MSBuildProjectFile = M2Mqtt.csproj
MSBuildProjectFullPath = /home/ubuntu/CM/CM.net/M2Mqtt/M2Mqtt.csproj
MSBuildProjectName = M2Mqtt
MSBuildRuntimeType = Core
MSBuildSDKsPath = /home/ubuntu/bin/sdk/1.0.0-preview5-004478/Sdks
MSBuildStartupDirectory = /home/ubuntu/CM/CM.net/M2Mqtt
MSBuildToolsPath = /home/ubuntu/bin/sdk/1.0.0-preview5-004478
MSBuildToolsVersion = 15.0
MSBuildUserExtensionsPath = /home/ubuntu/Microsoft\MSBuild
OLDPWD = /home/ubuntu/CM/CM.net
OS = Unix
OutputType = library
PATH = /home/ubuntu/bin:/home/ubuntu/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
PWD = /home/ubuntu/CM/CM.net/M2Mqtt
RoslynTargetsPath = /home/ubuntu/bin/sdk/1.0.0-preview5-004478/Roslyn
SHELL = /bin/bash
SHLVL = 2
SSH_CLIENT = 38.109.141.124 65405 22
SSH_CONNECTION = 38.109.141.124 65405 172.31.3.19 22
SSH_TTY = /dev/pts/0
STY = 17753.pts-0.ip-172-31-3-19
TargetFrameworkPath = …/References/dotnet/code-1.1.0
TargetFrameworkRootPath = …/References/dotnet/code-1.0.0
TERM = screen
TERMCAP = SC|screen|VT 100/ANSI X3.64 virtual terminal:
:DO=\E[Û:LE=\E[Ý:RI=\E[Ü:UP=\E[Ú:bs:bt=\E[Z:
:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:ct=\E[3g:
:do=^J:nd=\E[C:pt:rc=\E8:rs=\Ec:sc=\E7:st=\EH:up=\EM:
:le=^H:bl=^G:cr=^M:it#8:ho=\E[H:nw=\EE:ta=^I:is=\E)0:
:li#24:co#80:am:xn:xv:LP:sr=\EM:al=\E[L:AL=\E[%dL:
:cs=\E[%i%d;%dr:dl=\E[M:DL=\E[%dM:dc=\E[P:DC=\E[%dP:
:im=\E[4h:ei=\E[4l:mi:IC=\E[%d@:ks=\E[?1h\E=:
:ke=\E[?1l\E>:vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l:
:ti=\E[?1049h:te=\E[?1049l:us=\E[4m:ue=\E[24m:so=\E[3m:
:se=\E[23m:mb=\E[5m:md=\E[1m:mh=\E[2m:mr=\E[7m:
:me=\E[m:ms:
:Co#8:pa#64:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:AX:
:vb=\Eg:G0:as=\E(0:ae=\E(B:
:ac=\140\140aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~…–++,hhII00:
:po=\E[5i:pf=\E[4i:Km=\E[M:k0=\E[10~:k1=\EOP:k2=\EOQ:
:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:k7=\E[18~:
:k8=\E[19~:k9=\E[20~:k;=\E[21~:F1=\E[23~:F2=\E[24~:
:F3=\E[1;2P:F4=\E[1;2Q:F5=\E[1;2R:F6=\E[1;2S:
:F7=\E[15;2~:F8=\E[17;2~:F9=\E[18;2~:FA=\E[19;2~:kb=:
:K2=\EOE:kB=\E[Z:kF=\E[1;2B:kR=\E[1;2A:*4=\E[3;2~:
:*7=\E[1;2F:#2=\E[1;2H:#3=\E[2;2~:#4=\E[1;2D:%c=\E[6;2~:
:%e=\E[5;2~:%i=\E[1;2C:kh=\E[1~:@1=\E[1~:kH=\E[4~:
:@7=\E[4~:kN=\E[6~:kP=\E[5~:kI=\E[2~:kD=\E[3~:ku=\EOA:
:kd=\EOB:kr=\EOC:kl=\EOD:km:
USER = ubuntu
WINDOW = 0
XDG_RUNTIME_DIR = /run/user/1000
XDG_SESSION_ID = 153

Initial Items:
CSFile
Exceptions/MqttClientException.cs
Exceptions/MqttCommunicationException.cs
Exceptions/MqttConnectionException.cs
Exceptions/MqttTimeoutException.cs
IMqttNetworkChannel.cs
Internal/InternalEvent.cs
Internal/MsgInternalEvent.cs
Internal/MsgPublishedInternalEvent.cs
Messages/MqttMsgBase.cs
Messages/MqttMsgConnack.cs
Messages/MqttMsgConnect.cs
Messages/MqttMsgConnectEventArgs.cs
Messages/MqttMsgContext.cs
Messages/MqttMsgDisconnect.cs
Messages/MqttMsgPingReq.cs
Messages/MqttMsgPingResp.cs
Messages/MqttMsgPuback.cs
Messages/MqttMsgPubcomp.cs
Messages/MqttMsgPublish.cs
Messages/MqttMsgPublishedEventArgs.cs
Messages/MqttMsgPublishEventArgs.cs
Messages/MqttMsgPubrec.cs
Messages/MqttMsgPubrel.cs
Messages/MqttMsgSuback.cs
Messages/MqttMsgSubscribe.cs
Messages/MqttMsgSubscribedEventArgs.cs
Messages/MqttMsgSubscribeEventArgs.cs
Messages/MqttMsgUnsuback.cs
Messages/MqttMsgUnsubscribe.cs
Messages/MqttMsgUnsubscribedEventArgs.cs
Messages/MqttMsgUnsubscribeEventArgs.cs
MqttClient.cs
MqttSecurity.cs
MqttSettings.cs
Net/Fx.cs
Net/MqttNetworkChannel.cs
Properties/AssemblyInfo.cs
Session/MqttBrokerSession.cs
Session/MqttClientSession.cs
Session/MqttSession.cs
Utility/QueueExtension.cs
Utility/Trace.cs

Building with tools version “15.0”.
Project file contains ToolsVersion="". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion=“15.0”. For more information, please see http://go.microsoft.com/fwlink/?LinkId=293424.
Target “Build: (TargetId:2)” in project “/home/ubuntu/CM/CM.net/M2Mqtt/M2Mqtt.csproj” (entry point):
Using “Csc” task from assembly “/home/ubuntu/bin/sdk/1.0.0-preview5-004478/Roslyn/Microsoft.Build.Tasks.CodeAnalysis.dll”.
Task “Csc” (TaskId:2)
Task Parameter:
Sources=
Exceptions/MqttClientException.cs
Exceptions/MqttCommunicationException.cs
Exceptions/MqttConnectionException.cs
Exceptions/MqttTimeoutException.cs
IMqttNetworkChannel.cs
Internal/InternalEvent.cs
Internal/MsgInternalEvent.cs
Internal/MsgPublishedInternalEvent.cs
Messages/MqttMsgBase.cs
Messages/MqttMsgConnack.cs
Messages/MqttMsgConnect.cs
Messages/MqttMsgConnectEventArgs.cs
Messages/MqttMsgContext.cs
Messages/MqttMsgDisconnect.cs
Messages/MqttMsgPingReq.cs
Messages/MqttMsgPingResp.cs
Messages/MqttMsgPuback.cs
Messages/MqttMsgPubcomp.cs
Messages/MqttMsgPublish.cs
Messages/MqttMsgPublishedEventArgs.cs
Messages/MqttMsgPublishEventArgs.cs
Messages/MqttMsgPubrec.cs
Messages/MqttMsgPubrel.cs
Messages/MqttMsgSuback.cs
Messages/MqttMsgSubscribe.cs
Messages/MqttMsgSubscribedEventArgs.cs
Messages/MqttMsgSubscribeEventArgs.cs
Messages/MqttMsgUnsuback.cs
Messages/MqttMsgUnsubscribe.cs
Messages/MqttMsgUnsubscribedEventArgs.cs
Messages/MqttMsgUnsubscribeEventArgs.cs
MqttClient.cs
MqttSecurity.cs
MqttSettings.cs
Net/Fx.cs
Net/MqttNetworkChannel.cs
Properties/AssemblyInfo.cs
Session/MqttBrokerSession.cs
Session/MqttClientSession.cs
Session/MqttSession.cs
Utility/QueueExtension.cs
Utility/Trace.cs (TaskId:2)
Task Parameter:OutputAssembly=bin/M2Mqtt.dll (TaskId:2)
Task Parameter:TargetType=dll (TaskId:2)
/home/ubuntu/bin/sdk/1.0.0-preview5-004478/Roslyn/csc.exe /out:bin/M2Mqtt.dll /target:dll Exceptions/MqttClientException.cs Exceptions/MqttCommunicationException.cs Exceptions/MqttConnectionException.cs Exceptions/MqttTimeoutException.cs IMqttNetworkChannel.cs Internal/InternalEvent.cs Internal/MsgInternalEvent.cs Internal/MsgPublishedInternalEvent.cs Messages/MqttMsgBase.cs Messages/MqttMsgConnack.cs Messages/MqttMsgConnect.cs Messages/MqttMsgConnectEventArgs.cs Messages/MqttMsgContext.cs Messages/MqttMsgDisconnect.cs Messages/MqttMsgPingReq.cs Messages/MqttMsgPingResp.cs Messages/MqttMsgPuback.cs Messages/MqttMsgPubcomp.cs Messages/MqttMsgPublish.cs Messages/MqttMsgPublishedEventArgs.cs Messages/MqttMsgPublishEventArgs.cs Messages/MqttMsgPubrec.cs Messages/MqttMsgPubrel.cs Messages/MqttMsgSuback.cs Messages/MqttMsgSubscribe.cs Messages/MqttMsgSubscribedEventArgs.cs Messages/MqttMsgSubscribeEventArgs.cs Messages/MqttMsgUnsuback.cs Messages/MqttMsgUnsubscribe.cs Messages/MqttMsgUnsubscribedEventArgs.cs Messages/MqttMsgUnsubscribeEventArgs.cs MqttClient.cs MqttSecurity.cs MqttSettings.cs Net/Fx.cs Net/MqttNetworkChannel.cs Properties/AssemblyInfo.cs Session/MqttBrokerSession.cs Session/MqttClientSession.cs Session/MqttSession.cs Utility/QueueExtension.cs Utility/Trace.cs (TaskId:2)
/home/ubuntu/CM/CM.net/M2Mqtt/M2Mqtt.csproj(16,5): error MSB6006: “csc.exe” exited with code 13.
Done executing task “Csc” – FAILED. (TaskId:2)
Done building target “Build” in project “M2Mqtt.csproj” – FAILED.: (TargetId:2)
Done Building Project “/home/ubuntu/CM/CM.net/M2Mqtt/M2Mqtt.csproj” (Build target(s)) – FAILED.
Deferred Messages

Detailed Build Summary

 (TaskId:0)

============================== Build Hierarchy (IDs represent configurations) =====================================================
Id : Exclusive Time Total Time Path (Targets)
----------------------------------------------------------------------------------------------------------------------------------- (TaskId:0)
0 : 0.259s 0.259s /home/ubuntu/CM/CM.net/M2Mqtt/M2Mqtt.csproj (Build) (TaskId:0)

============================== Node Utilization (IDs represent configurations) ====================================================
Timestamp: 1 Duration Cumulative
----------------------------------------------------------------------------------------------------------------------------------- (TaskId:0)
636202873856258250: 0 0.262s 0.262s ##### (TaskId:0)

Utilization: 100.0 Average Utilization: 100.0 (TaskId:0)

Project Performance Summary:
147 ms /home/ubuntu/CM/CM.net/M2Mqtt/M2Mqtt.csproj 1 calls
147 ms Build 1 calls

Target Performance Summary:
132 ms Build 1 calls

Task Performance Summary:
116 ms Csc 1 calls

Build FAILED.

“/home/ubuntu/CM/CM.net/M2Mqtt/M2Mqtt.csproj” (Build target) (1) ->
(Build target) ->
/home/ubuntu/CM/CM.net/M2Mqtt/M2Mqtt.csproj(16,5): error MSB6006: “csc.exe” exited with code 13.

0 Warning(s)
1 Error(s)

Time Elapsed 00:00:00.29


#2

Sorry the cspoj file got messed up in the post



…/References/dotnet/code-1.1.0
…/References/dotnet/code-1.1.0
…/References/dotnet/code-1.0.0
$(TargetFrameworkRootPath)\CoreCLR\v5.0
library


#3
 <Project>
  <PropertyGroup>
    <AssemblySearchPaths Condition="'$(AssemblySearchPaths)' == './../References/dotnet/core-1.1.0'"></AssemblySearchPaths>
    <TargetFrameworkPath>../References/dotnet/code-1.1.0 </TargetFrameworkPath>
    <FrameworkPathOverride>../References/dotnet/code-1.1.0</FrameworkPathOverride>
    <TargetFrameworkRootPath>../References/dotnet/code-1.0.0</TargetFrameworkRootPath>
    <FrameworkPathOverride>$(TargetFrameworkRootPath)\CoreCLR\v5.0</FrameworkPathOverride>
    <OutputType>library</OutputType>
  </PropertyGroup>

  <ItemGroup>
    <CSFile Include="**/*.cs" />
  </ItemGroup>

  <Target Name="Build" >
    <Csc Sources="@(CSFile)" References="@(Reference)"  OutputAssembly="bin/M2Mqtt.dll" TargetType="dll" />
  </Target>

</Project>

.NET Foundation Website | Blog | Projects | Code of Conduct