2016-08-13 7 views
-2

Visual Studioでこのコンパイルエラーを特定できません。PoGo-UWPのコンパイルには多くの問題があります

this

<Page.DataContext> 
    <viewModels:CapturePokemonPageViewModel x:Name="ViewModel" />//here 
</Page.DataContext> 

これはさらに、エラーの多くにつながります。助けてください。

error 2 in another .xaml

<Page.DataContext> 
    <viewModels:CapturePokemonPageViewModel x:Name="ViewModel" /> //here 
</Page.DataContext> 

Link to the full source code

+0

それでは、エラーは何ですか? – Lloyd

+0

"MapPokemonwraper"という名前が "using:PokemonGo_UWP.Entiries" –

+0

という名前空間に存在しません。どのポゴがクリックされているのかわからない場合はhttps://github.com/ST-Apps/PoGo-UWP –

答えて

0

あなたがPoGo-UWPを構築しようとしているようだ(@kessanによる):ここでは、唯一のエラーではありません

は別のエラー です。その場合は、Dev wikiに続いて「ApplicationKeys.cs」を追加することができます。 StartUp Projectとして "PokemonGo-UWP" を選択し、F5を打つ

using System; 
using System.Collections.Generic; 
using System.Linq; 
using System.Text; 
using System.Threading.Tasks; 

namespace PokemonGo_UWP.Utils 
{ 
    public static class ApplicationKeys 
    { 
        public static string MapServiceToken = "{Bing Map API key}"; 
        public static string HockeyAppToken = null; 
        public static string[] MapBoxTokens = {}; 
        public static string[] MapBoxStylesLight = {}; 
        public static string[] MapBoxStylesDark = {}; 
    } 
} 

その後、あなたはアプリを実行することができます。

これは、次のVisual Studioのインテリセンスを更新するには:

  1. Visual StudioでCtrlキーを押しながら+ Qを、タイプpac man gen
  2. Allow NuGet to download missing packagesがチェックされていることを確認してください。
  3. Automatically check for missing packages during build in Visual Studioがチェックされていることを確認します。
  4. 「PokemonGo-UWP」プロジェクトを右クリックし、Cleanを選択します。
  5. 「PokemonGo-UWP」プロジェクトを右クリックし、Rebuildを選択します。

    名「CapturePokemonPageViewModelは、」名前空間「:PokemonGo_UWP.ViewModelsを使用して」に存在しません:

これは次のようにエラーを修正することができるはずです。

関連する問題