我搜索并搜索了答案仍然让我难以捉摸。这是我的代码
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.ni.dll 中发生了‘System.Windows.Markup.XamlParseException’类型的第一次机会异常”
一切正常,直到我决定不再使用我在项目中找到的网页,它会引发此错误