+ Reply to Thread
Results 1 to 3 of 3

Thread: How does Viewer.xap File get generated?

  1. #1
    capton siluvairajan
    Join Date
    Nov 2010
    Posts
    15
    Points
    0
    Answers Provided
    0


    0

    Question How does Viewer.xap File get generated?

    How is the Viewer.xap file get generated in the ESRI SIlverlight viewer template project? How do I contents to it dynamically form my visual studio ?

  2. #2
    Katherine Dalton

    Join Date
    Jan 2010
    Posts
    299
    Points
    173
    Answers Provided
    22


    0

    Default Re: How does Viewer.xap File get generated?

    Hi Capton,

    If necessary, you can crack open the .xap file as you would any zip file. For an alternative method to putting the ServiceReferences.ClientConfig in the xap, see this blog post: Silverlight ServiceReference.ClientConfig Alternatives.

    Let us know if you find the information in the blog post helpful!

    Katy
    Katy Dalton
    Esri Product Engineer

  3. #3
    Johan Carlsson
    Join Date
    Sep 2012
    Posts
    96
    Points
    14
    Answers Provided
    3


    0

    Default Re: How does Viewer.xap File get generated?

    I'm having the same problem and I can't seem to solve it, even through the link you provided.
    Starting a blank Silverlight application, it's easy as pie to use the ServiceReference file, but with a Silverlight Viewer Application there's no obvious soltution. Nothing I've tried so far works, except bypassing the file by setting up the bindings in code behind, but that is not an option unfortunately since I need different configurations for different environments.

    Is there any additional help to get? Not being able to use this is extremely time consuming.

    EDIT: My ServiceReference.ClientConfig is in the .xap, but it is not accessible when. Debugging results in the error "Cannot find 'ServiceReferences.ClientConfig' in the .xap application package.".
    Last edited by hochas; 09-06-2013 at 06:20 AM.

+ Reply to Thread

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts