How can I decrease the deployed xbap 开发者_运维百科application size?
I'm assuming you're talking about the deployed app footprint, not the memory footprint of the running app. A couple of thoughts:
- Decrease dependencies. Have you looked at the deployed app to see what your largest 3rd party dependencies are (framework assemblies aren't downloaded)?
- Build in Release mode. You'll lose line number info in exceptions, but your binaries will be smaller and you won't get pdbs included.
Little addition to nitzmahone answer:
If you have resources (like images) - check that all of them is used in your app and think about decraasing count of it, or in images case you can adjust their quality.
精彩评论