[Mono-list] Unable to Compile C# project from command line
guptakumartanuj
guptakumartanuj at gmail.com
Tue Aug 2 06:45:45 UTC 2016
Hi Team,
I am working on a c# project on MAC machine and I am not able to compile the
project through terminal.
So the problem is when I provide the multiple dlls to compile.
tangupta-mbp:Project tangupta$ mcs -recurse:'./rest-api-sdk/src/*.cs'
-out:Test.dll -target:library -r:bin/Debug/RestSharp.dll
-r:bin/Debug/Newtonsoft.Json.dll
It gives the following error in which basic data types are not found which
are defined in System.dll.
error CS0246: The type or namespace name `DataMember' could not be found.
Are you missing an assembly reference?
If I give the single dll, It's not able to find the second assembly.
tangupta-mbp:Project tangupta$ mcs -recurse:'./rest-api-sdk/src/*.cs'
-out:Test.dll -target:library -r:bin/Debug/RestSharp.dll
error CS0246: The type or namespace name `Newtonsoft' could not be found.
Are you missing an assembly reference?
Please do the needful for the same and tell me the appropriate way to
compile it.
Thanks & Regards,
Tanuj Gupta
--
View this message in context: http://mono.1490590.n4.nabble.com/Unable-to-Compile-C-project-from-command-line-tp4668293.html
Sent from the Mono - General mailing list archive at Nabble.com.
More information about the Mono-list
mailing list