Silverlight WebPart in Sharepoint

If you want to give a relative path,

use something like that:

(if you are using it in a Module)


if you write:


It wont recognize it and you will see an error on Silverlight Web Part that the .xap file cant be found.

I hope this little trick solves the problem.