I can`t see the mainWindow.axml in the test project

Aug 29, 2014 at 10:14 AM
I get this error:
NullReferenceException: Referencia a objeto no establecida como instancia de un objeto.

Stack trace:

 en TestApplication.Shared.PortablePopup.InternalOnApplyTemplate()
   en TestApplication.Shared.PortablePopup.OnApplyTemplate()
   en System.Windows.FrameworkElement.ApplyTemplate()
   en System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   en System.Windows.UIElement.Measure(Size availableSize)
   en System.Windows.Controls.StackPanel.StackMeasureHelper(IStackMeasure measureElement, IStackMeasureScrollData scrollData, Size constraint)
   en System.Windows.Controls.StackPanel.MeasureOverride(Size constraint)
   en System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   en System.Windows.UIElement.Measure(Size availableSize)
   en System.Windows.Controls.StackPanel.StackMeasureHelper(IStackMeasure measureElement, IStackMeasureScrollData scrollData, Size constraint)
   en System.Windows.Controls.StackPanel.MeasureOverride(Size constraint)
   en System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   en System.Windows.UIElement.Measure(Size availableSize)
   en System.Windows.Controls.Border.MeasureOverride(Size constraint)
   en System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   en System.Windows.UIElement.Measure(Size availableSize)
   en System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
   en System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean& hasDesiredSizeUChanged)
   en System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
   en System.Windows.Controls.Grid.MeasureOverride(Size constraint)
   en System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   en System.Windows.UIElement.Measure(Size availableSize)
   en System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
   en System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean& hasDesiredSizeUChanged)
   en System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
   en System.Windows.Controls.Grid.MeasureOverride(Size constraint)
   en System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   en System.Windows.UIElement.Measure(Size availableSize)
   en MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
   en System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
   en System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   en System.Windows.UIElement.Measure(Size availableSize)
   en System.Windows.Controls.Control.MeasureOverride(Size constraint)
   en System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   en System.Windows.UIElement.Measure(Size availableSize)
   en System.Windows.Controls.Grid.MeasureOverride(Size constraint)
   en System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   en System.Windows.UIElement.Measure(Size availableSize)
   en MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
   en System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
   en System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   en System.Windows.UIElement.Measure(Size availableSize)
   en System.Windows.Controls.Grid.MeasureOverride(Size constraint)
   en System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   en System.Windows.UIElement.Measure(Size availableSize)
   en System.Windows.Controls.Border.MeasureOverride(Size constraint)
   en System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   en System.Windows.UIElement.Measure(Size availableSize)
   en System.Windows.Controls.Control.MeasureOverride(Size constraint)
   en System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   en System.Windows.UIElement.Measure(Size availableSize)
   en System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
   en System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean& hasDesiredSizeUChanged)
   en System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
   en System.Windows.Controls.Grid.MeasureOverride(Size constraint)
   en System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   en System.Windows.UIElement.Measure(Size availableSize)
   en System.Windows.Controls.Control.MeasureOverride(Size constraint)
   en System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   en System.Windows.UIElement.Measure(Size availableSize)
I am using VS2013.



Thanks.