2
MacのシミュレータでMac - > build - > viewに接続して正常に動作するデフォルトのXamarinプロジェクトを作成しましたが、Visual StudioからLive Payerを起動して実行すると、Xamarin Live Playerのエラー
\Services\MockDataStore.cs(1,1): error: The type or namespace name 'Xamarin' could not be found (are you missing a using directive or an assembly reference?)
\App.xaml.cs(1,1): error: The type or namespace name 'Xamarin' could not be found (are you missing a using directive or an assembly reference?)
\Services\MockDataStore.cs(1,1): error: The type or namespace name 'Xamarin' could not be found (are you missing a using directive or an assembly reference?)
\ViewModels\AboutViewModel.cs(1,1): error: The type or namespace name 'Xamarin' could not be found (are you missing a using directive or an assembly reference?)
\ViewModels\BaseViewModel.cs(1,1): error: The type or namespace name 'Xamarin' could not be found (are you missing a using directive or an assembly reference?)
\ViewModels\ItemsViewModel.cs(1,1): error: The type or namespace name 'Xamarin' could not be found (are you missing a using directive or an assembly reference?)
\Views\MainPage.xaml.cs(1,1): error: The type or namespace name 'Xamarin' could not be found (are you missing a using directive or an assembly reference?)
\Views\MainPage.xaml.cs(1,1): error: The type or namespace name 'Xamarin' could not be found (are you missing a using directive or an assembly reference?)
\Views\AboutPage.xaml.cs(1,1): error: The type or namespace name 'Xamarin' could not be found (are you missing a using directive or an assembly reference?)
\Views\AboutPage.xaml.cs(1,1): error: The type or namespace name 'Xamarin' could not be found (are you missing a using directive or an assembly reference?)
\Views\ItemDetailPage.xaml.cs(1,1): error: The type or namespace name 'Xamarin' could not be found (are you missing a using directive or an assembly reference?)
\Views\ItemDetailPage.xaml.cs(1,1): error: The type or namespace name 'Xamarin' could not be found (are you missing a using directive or an assembly reference?)
\Views\ItemsPage.xaml.cs(1,1): error: The type or namespace name 'Xamarin' could not be found (are you missing a using directive or an assembly reference?)
\Views\ItemsPage.xaml.cs(1,1): error: The type or namespace name 'Xamarin' could not be found (are you missing a using directive or an assembly reference?)
\Views\NewItemPage.xaml.cs(1,1): error: The type or namespace name 'Xamarin' could not be found (are you missing a using directive or an assembly reference?)
これらのファイルはすべて共有プロジェクトにあります。
誰でも問題はありますか?それはどんな慰めなら
マット
https://forums.xamarin.com/discussion/17560/error-cs0246-the-type-or-namespace-name-xamarin-could-not-be-foundを参照してください。 –
そのスレッドは役に立たず、実際のものではありません同様の問題を抱えている人々だけに何年も答える。 –