简体   繁体   中英

visual studio xap update

Why do I have to rebuild my project everytime to see the new silverlight xap file created in my browser

a little more background info:

this is the structure of my setup

solution
 |-project1(asp.net website)
     |- Client Bin
        |- xap file
     |- Xml file

 |-project2(silverlight project)
     |- Shortcut to Xml file (added as link)

Xml file is updated by project1, project 2 is supposed to generate something based on the value of Xml file. However I have to rebuild project every time to see these changes

I'm not sure I entirely understand your question -- because to me it seems pretty obvious. The XAP file gets created (or updated) when you build your project, because it contains the DLLs and other resources that Silverlight needs to run your application. So when you build your solution, Visual Studio builds those DLLs and resources, and combines and compresses them into a XAP file. How else would you expect it to work?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM