Link to home
Start Free TrialLog in
Avatar of MikelHensley
MikelHensleyFlag for United States of America

asked on

Error when using SLSvcUtil.exe to create a webservice proxy within SIlverlight. How do I fix this?

I have been working with Silverlight for about 4 months now, and I can never seem to get the SLSvcUtil to work correctly. Here is the command I am using, followed by the error. Has anyone seen this error before? What is going wrong?

slsvcutil.exe http:
//127.0.0.1:81/Services/SAPServices.svc?wsdl /out:"C:\RDA\UI-Silverlight\Service
 References\SAPServiceRef2\Reference.cs" /enableDataBinding /namespace:"*,UI_Sil
verlight.SAPServiceRef2" /ct:System.Collections.ObjectModel.ObservableCollection
`1 /r:"C:\Program Files (x86)\Microsoft Silverlight\4.0.60310.0\System.Windows.d
ll"

Could not load type 'System.Runtime.CompilerServices.TypeForwardedFromAtt
ribute'
ASKER CERTIFIED SOLUTION
Avatar of SameerJagdale
SameerJagdale
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of MikelHensley

ASKER

I tried that before, but it made no difference.