私はVisual Studio Update 3 + Update 3パッチを使用しています。私は空白を作成しましたXAML App(Xamarin.Forms Portable)ソリューションは、C#クロスプラットフォームテンプレートを使用しています。私は構成マネージャーでビルドとデプロイをチェックしました。私はXamarin.Forms 2.3.2.127(2.2版は同じ問題を抱えていた)に解決策を更新しました。私は今までAndroidやiOSアプリを走らせることができました。私はソースを変更していない、私は空のプロジェクトを使用しています。 UWPアプリを実行しようとすると、私はApp.xaml.csにエラーが表示されます。Xamarin UWPアプリが動作しません
Xamarin.Forms.Forms.Init(e)
System.AggregateException: One or more errors occurred.
(Error HRESULT E_FAIL has been returned from a call to a COM component.) --->
System.Runtime.InteropServices.COMException:
Error HRESULT E_FAIL has been returned from a call to a COM component.
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at System.Threading.Tasks.Task`1.get_Result()
at Xamarin.Forms.Platform.UWP.WindowsBasePlatformServices.GetAssemblies()
at Xamarin.Forms.Registrar.RegisterAll(Type[] attrTypes)
at Xamarin.Forms.Forms.Init(IActivatedEventArgs launchActivatedEventArgs, IEnumerable`1 rendererAssemblies)
at Tester.UWP.App.OnLaunched(LaunchActivatedEventArgs e)
---> (Inner Exception #0) System.Runtime.InteropServices.COMException (0x80004005):
Error HRESULT E_FAIL has been returned from a call to a COM component.
が追加されました。 UamプロジェクトがXamarin.Forms.Forms.Init(e)で失敗する –
あなたはどのターゲットを実行しますか? Windows 10デスクトップ Windows 10エミュレータ Windows 10 Mobileエミュレータ Windows 10携帯電話 –
Windows 10デスクトップ –