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

Posted on 2011-05-11
Last Modified: 2012-07-30
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:
// /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

Could not load type 'System.Runtime.CompilerServices.TypeForwardedFromAtt
Question by:MikelHensley
    LVL 13

    Accepted Solution


    Author Comment

    I tried that before, but it made no difference.

    Featured Post

    Gigs: Get Your Project Delivered by an Expert

    Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

    Join & Write a Comment

    In previous Articles, we have discussed how we can upload a file using .asmx web service and isolated storage space. Here, in continuation to the topic, I am going to discuss how we can use WCF for the same purpose. Steps: 1.Create the silverli…
    While working on Silverlight and WCF application, I faced one issue where fault exception occurred at WCF operation contract is not getting propagated to Silverlight client. So after searching net I came to know that it was behavior by default for s…
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now