sunu
sunu

Reputation: 11

MonoDevelop error

I developed one Mono project which runs perfectly on MonoDevelop in Windows, but it throws a compiler error 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?

Upvotes: 1

Views: 1479

Answers (2)

Shilpa
Shilpa

Reputation: 1

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

Upvotes: 0

IanNorton
IanNorton

Reputation: 7282

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.

Upvotes: 1

Related Questions