.xap not downloaded/displayed

2009-03-26
2013-04-26
  • Kirby Turner

    Kirby Turner - 2009-03-26

    I was excited to learn about the eclipse4SL preview for Mac OS X.  I wasted no time installing it, which was a snap.  I created a sample "hello world" Silverlight project (not a Silverlight web project).  I run the project, the test page loads in the browser window (Firefox), and that's it.  The .xap is never downloaded or displayed.

    I've seen this same behavior when hosting the Silverlight app from IIS 6.  The solution to the problem in that case is to add .xap to the mime types in IIS.

    Is there something similar I need to do in the Mac world? 

    Thanks,
    -KIRBY

     
    • Yves YANG

      Yves YANG - 2009-03-26

      Hi,

      I'm lost. Could you indicate us your environment?

      OS:
      Eclipse:
      Java:

      This information is very helpful to understand your issue.

      Best regards

       
      • Kirby Turner

        Kirby Turner - 2009-03-26

        Whoops.  Sorry I left that out of the original post.  It was late and I was tired.

        Mac OS X 10.5.6
        Eclipse Version: 3.4.2 Build id: M20090211-1700
        Eclipse4SL 1.0.0.M3_20090315
        Java 1.5 (runtime 1.5.0_16-b06-284)
        Mono 2.25
        Firefox 3.0.7
        Silverlight Version 2.0 (2.0.31005.0)

        And in case it matters, the hardware specs are:

        MacBook Pro
        2.4 GHz Intel Core 2 Duo
        4 GB 667 MHz DDR2 SDRAM
        160GB hard drive with 76 GB free

        Hope that helps.
        -KIRBY

         
    • Kirby Turner

      Kirby Turner - 2009-03-26

      By the way here is the the sample project that was created in eclipse4SL:

      http://www.thecave.com/downloads/SilverlightSample2.zip

      Thanks,
      -KIRBY

       
    • Yves YANG

      Yves YANG - 2009-03-27

      We have investigated your problem. The bin and obj folder are missing in your project. Is it created with our wizard?

      We will fix the problem to create automatically these folders by the builder.

      Thanks for the report
      Yves

       
      • Kirby Turner

        Kirby Turner - 2009-03-27

        Actually the bin and obj folders are present.  I excluded them from the .zip archive because I assume they are generated each time I build the project (just like Visual Studio does).

        Hmm, I reloaded and tried running the project.  Seems I shouldn't have deleted the bin and obj folders.<grin> Crashes Eclipse every time.

        Think I will delete my workspace and try again from scratch.

        Thanks,
        -KIRBY

         
        • Yves YANG

          Yves YANG - 2009-03-27

          When I add bin and obj, your project works as expected. We have noticed a crash of eclipse due to a SWT Mac integration.

          Best regards
          Yves

           

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks