none
Can't get my app to run on Surface RT works great on Windows 8 development computer & other Windows 8 comps?

    Question

  • I cannot for the life of me get my app to run on my new Surface RT!  Does anyone know why this would happen? 

    It installs via the Power Shell script included with the package great.  The tile shows up and when I click on it goes to the screen with the large icon of my app.  It just sits there and disappears or disappears right away.  It is basically not doing anything at this point in the code. 

    Why would this happen?  I'd love to test my app out with an actual touch screen.  

    Please Help and Thanks in advance!


    SB Software Developer

    Tuesday, November 06, 2012 3:42 AM

Answers

  • Thanks for the help, this helped me find the culprit.  The following XAML:

     <VariableSizedWrapGrid Orientation="Horizontal" Height="Auto">
    
                                    <ItemsControl  BorderThickness="0">
                                        <ItemsControl.ItemsPanel>
                                            <ItemsPanelTemplate>
                                                <WrapGrid Orientation="Horizontal" >
                                                    <WrapGrid.ChildrenTransitions>
                                                        <TransitionCollection>
                                                            <EntranceThemeTransition/>
                                                        </TransitionCollection>
                                                    </WrapGrid.ChildrenTransitions>
                                                </WrapGrid>
                                            </ItemsPanelTemplate>
                                        </ItemsControl.ItemsPanel>
                                    </ItemsControl>
    
                                   
    
                                </VariableSizedWrapGrid>
    That what caused it to work on Windows 8 and not RT/ARM. I took everything in the middle out and it works great!  It was one of the original pages I made with developer preview.  Thanks again for the tip Morten!
     

    SB Software Developer

    • Marked as answer by Sacha Berwin Tuesday, November 06, 2012 10:26 AM
    Tuesday, November 06, 2012 10:26 AM

All replies

  • Your best bet is to use remote debugging instead of deploying via powershell.

    See this blogpost on how to set that up: http://timheuer.com/blog/archive/2012/10/26/remote-debugging-windows-store-apps-on-surface-arm-devices.aspx


    /Morten
    twitter: http://www.twitter.com/dotMorten
    blog: http://www.sharpgis.net

    Tuesday, November 06, 2012 5:59 AM
  • Oh Word!   Thanks, I'm checking it out that way.  It's still not starting but at least this gives me a little bit more insight.  It kind of a complex app as it has a C++/CX component that I made but mainly uses C#.  

    (Update: It had nothing to do with this)


    SB Software Developer


    • Edited by Sacha Berwin Tuesday, November 06, 2012 10:21 AM update
    Tuesday, November 06, 2012 7:12 AM
  • Thanks for the help, this helped me find the culprit.  The following XAML:

     <VariableSizedWrapGrid Orientation="Horizontal" Height="Auto">
    
                                    <ItemsControl  BorderThickness="0">
                                        <ItemsControl.ItemsPanel>
                                            <ItemsPanelTemplate>
                                                <WrapGrid Orientation="Horizontal" >
                                                    <WrapGrid.ChildrenTransitions>
                                                        <TransitionCollection>
                                                            <EntranceThemeTransition/>
                                                        </TransitionCollection>
                                                    </WrapGrid.ChildrenTransitions>
                                                </WrapGrid>
                                            </ItemsPanelTemplate>
                                        </ItemsControl.ItemsPanel>
                                    </ItemsControl>
    
                                   
    
                                </VariableSizedWrapGrid>
    That what caused it to work on Windows 8 and not RT/ARM. I took everything in the middle out and it works great!  It was one of the original pages I made with developer preview.  Thanks again for the tip Morten!
     

    SB Software Developer

    • Marked as answer by Sacha Berwin Tuesday, November 06, 2012 10:26 AM
    Tuesday, November 06, 2012 10:26 AM