2013-09-26 3 views
0

ive는 검색 결과를 검색하고 검색하여 여전히 나를 알 수 없습니다. 여기 내 코드는XAML 구문 분석 예외

using Microsoft.Phone.Controls; 
using Microsoft.Phone.Shell; 
using System; 
using System.Collections.Generic; 
using System.Linq; 
using System.Net; 
using System.Windows; 
using System.Windows.Controls; 
using System.Windows.Navigation; 

namespace GTA_5_Guide 
{ 
    public partial class MainPage : PhoneApplicationPage 
    { 

     //Constructor 
     public MainPage() 
     { 
      //Loads the page onto the screen   
      InitializeComponent(); //This is were the error is thrown 

     } 

    } 
} 

던져 오류는

모든 것이 잘 작동했다 "유형 'System.Windows.Markup.XamlParseException'의 첫 번째 예외가 System.Windows.ni.dll 발생"입니다 나는 내 프로젝트에서 발견 한 웹 페이지를 더 이상 사용하지 않기로 결정할 때까지이 오류를 던졌습니다.

+0

당신은 MainPage.xaml을 삭제 않았다 ... 나는 웹 페이지를 사용하지 않기로 결정까지 잘 작동 ... – tofutim

+0

.xaml MainPage를 게시해야 ? :) – tofutim

+1

주어진 코드가 무슨 일이 일어나는가에 대한 단서를주지는 않습니다. 특히 웹 페이지를 제거한 영역 인 마크 업 'Xaml'을 보여 주어야합니다. –

답변

0

9 번 이것은 대개 동일한 유형을 상속받지 않는 디자이너 파일입니다.

은 MainPage 루트 XAML 컨트롤이 있는지 확인의 얼굴 <phone:PhoneApplicationPage...