> I have developed an MCE application using XBAP written in XAML/C#.
> I have two basic issues.
> 1. When I exit application (using Application.Current.ShutDown()), i
> see wa white screen. How can I go back to MCE Home? Even if i press the
> MCE Home button on remote, I am unable to go!
> 2. When a new version of the XBAP application is available, i had to
> manually run the mage tool to clear cache. How can I do this for my
> single XBAP file. Remember, mage -cc clears all the cache which is not
> desirable. I want to clear only my entry for this XBAP application.
> Thanks for help,
Wrt your questions
1) What CTP are you using? we do not see what you see w/ later builds.
When we tried, after the call to Application.Current.ShutDown(), when
the pressing the Green or the Back button we are able to navigate back.
2) Unfortunately the only available tool is 'mage -cc', which as
you said clears the entire ClickOnce cache. There isn't any available
tool to clear single XBAP from cache. You other approach during
development is to simply increase the version of your app, this will
force download of the newer app version, so you don't even need to
clear the cache.
Lastly, you may also want to consider posting questions to http://wpf.netfx3.com/
Or to http://discuss.mediacentersandbox.co...ShowForum.aspx
which is better monitored for Media Center issues.