开发者

MonoDevelop error

I developed one Mono project which runs perfectly on MonoDevelop in Windows, but it throws a compiler 开发者_如何学JAVAerror like System.Services DLL error. The exact error message is

Compiler Error Message: CS0234: The type or namespace name 'ServiceModel' does not exist in the namespace 'System' (are you missing an assembly reference?)

What could be the problem?


System.ServiceModel is provided by the System.ServiceModel.dll assembly. You should be able to choose this by right clicking on the "Refrences" folder in the solution tree and choosing "Edit".

You should also take note that WCF on mono is not 100% complete. It may however do what you need.


Yοu can add the missing assemblies by using below command in linux:

gacutil -i System.Data.dll

and adding during compile time is:

gmcs filename -r:System.Data.dll

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜