小编Jac*_*son的帖子

Xamarin - 无法找到类型或命名空间名称"App"

目前正在尝试将我的Xamarin应用程序运行到我的iPhone实时播放器时出现此错误.

"AppDelegate.cs(1,1): error: The type or namespace name 'App' could not be found (are you missing a using directive or an assembly reference?)"
Run Code Online (Sandbox Code Playgroud)

我的解决方案构建没有错误,因此有点卡住.直到我更新到最新更新后才出现这些错误.任何帮助是极大的赞赏.

App.xaml.cs:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using COCApp;

using Xamarin.Forms;

namespace COCApp
{
    public partial class App : Application
    {
        public App()
        {
            InitializeComponent();
            MainPage = new NavigationPage(new MainPage());
        }

        protected override void OnStart()
        {
            // Handle when your app starts
        }

        protected override void OnSleep()
        {
            // Handle when your app sleeps …
Run Code Online (Sandbox Code Playgroud)

c# xamarin.ios ios xamarin xamarin.forms

8
推荐指数
2
解决办法
5860
查看次数

标签 统计

c# ×1

ios ×1

xamarin ×1

xamarin.forms ×1

xamarin.ios ×1