Whenever I wrote a custom tile that generate an exception, it crashes my sidebar and taskbar together. Is there a way to prevent this from happening? It makes it very tedious to debug my tile code. Is there something I miss on debugging a tile code?
Please reply in newsgroup.
This posting is provided "AS IS" with no warranties, and confers no rights.
"Chee Pin" <anon...@discussions.microsoft.com> wrote in message
Until the experience gets better for debugging, the way I debug my tile is
something like the following:
1. Create a Longhorn Tile project.
2. In the same directory, copy TileName.csproj to TestApp.csproj.
3. In TestApp.csproj change
In <ItemGroup> add
<Item Type="ApplicationDefinition" Include="MyApp.xaml"/>
4. In the same directory, create MyApp.xaml with the following contents:
5. To build and run, type the following in the Longhorn SDK command prompt:
msbuild TestApp.csproj /t:build;run
This isn't a perfect test shell for a tile, but it will have a better
debugging experience for now.
Rob Relyea, PM, Avalon Team, November 4, 2003
Stuart Celarier, Fern Creek