1

I've been working on a Silverlight application. I just noticed that the .xap file is now four times as big as it was, what could have caused that?

Here's some other info:

  • there seems to now be many more language settings in the bin/Release directory
  • I checked "Reduce size of .xap" in under Properties/Silverlight but that just brought it down from 1300 to 1200.
  • I reference the System.Windows.Controls.Toolkit dll but I was doing that even when it was 325K

Screenshot of build directories before and after:

alt text
(source: deviantsart.com)

Glorfindel
  • 21,988
  • 13
  • 81
  • 109
Edward Tanguay
  • 189,012
  • 314
  • 712
  • 1,047

1 Answers1

5

Since .xap is just a zip file, rename the .xap file to .zip and open it up and take a look at the files contained. Perhaps you added a large resource inadvertently?

Josh
  • 68,005
  • 14
  • 144
  • 156