2016-04-05 11 views
0

私はVS 2015を1.3 SDKと共にアップデート2にアップデートしました。今はxamlファイルを開いたときにデザイナーが熱心に働いているようです。閉鎖ショーには例外があり、ログを確認すると次のように表示されます。Windows 10 SDK 1.3ビジュアルデザイナーがハングしてエラーをスローする

未解決の問題はありますか?

<entry> 
<record>919</record> 
<time>2016/04/05 16:54:19.061</time> 
<type>Error</type> 
<source>Editor or Editor Extension</source> 
<description>System.NullReferenceException: Object reference not set to an instance of an object.&#x000D;&#x000A; at Microsoft.VisualStudio.DesignTools.DesignerHost.HostServices.HostProject.get_CodeDocumentTypeIdentifier()&#x000D;&#x000A; at Microsoft.VisualStudio.DesignTools.HostUtility.Extensions.HostExtensions.IsCPlusPlusProject(IHostProject project)&#x000D;&#x000A; at Microsoft.VisualStudio.DesignTools.Xaml.LanguageService.Metadata.ManagedTypeResolverService.GetTypeResolver(IHostProject hostProject)&#x000D;&#x000A; at Microsoft.VisualStudio.DesignTools.Xaml.LanguageService.XamlFileInformationService.CreateFileInformationContext(IHostSourceItem sourceItem)&#x000D;&#x000A; at Microsoft.VisualStudio.DesignTools.Xaml.LanguageService.XamlLanguageService.GetFileContextScope(String fileName, IVsTextLines textLines, IXamlFileInformationContext&amp; fileContext)&#x000D;&#x000A; at Microsoft.VisualStudio.DesignTools.Xaml.LanguageService.XamlLanguageService.EnsureBufferCache(IVsTextLines textLines)&#x000D;&#x000A; at Microsoft.VisualStudio.DesignTools.Xaml.LanguageService.XamlLanguageService.EnsureBufferCache(IVsTextView view)&#x000D;&#x000A; at Microsoft.VisualStudio.DesignTools.Xaml.LanguageService.XamlSource.BeginParse(Int32 line, Int32 idx, TokenInfo info, ParseReason reason, IVsTextView view, ParseResultHandler callback)&#x000D;&#x000A; at Microsoft.VisualStudio.Package.ViewFilter.GetDataTipText(TextSpan[] aspan, String&amp; textValue)&#x000D;&#x000A; at Microsoft.VisualStudio.Editor.Implementation.ShimQuickInfoSource.TryGetQuickInfoFromFilter(IQuickInfoSession session, TextSpan[] dataBufferTextSpan, String&amp; tipText)&#x000D;&#x000A; at Microsoft.VisualStudio.Editor.Implementation.ShimQuickInfoSource.AugmentQuickInfoSession(IQuickInfoSession session, IList`1 qiContent, ITrackingSpan&amp; applicableToSpan)&#x000D;&#x000A; at Microsoft.VisualStudio.Language.Intellisense.Implementation.QuickInfoSession.Recalculate()&#x000D;&#x000A; at Microsoft.VisualStudio.Language.Intellisense.Implementation.QuickInfoSession.Start()&#x000D;&#x000A; at Microsoft.VisualStudio.Language.Intellisense.Implementation.DefaultQuickInfoController.OnTextView_MouseHover(Object sender, MouseHoverEventArgs e)&#x000D;&#x000A; at Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView.RaiseHoverEvents()</description> 

この1つはあまりにも示しています

<entry> 
<record>917</record> 
<time>2016/04/05 16:52:01.816</time> 
<type>Error</type> 
<source>XAML Designer</source> 
<description>XAML Designer Exception&#x000D;&#x000A;&#x000D;&#x000A;Type: System.ArgumentNullException&#x000D;&#x000A;Message: Value cannot be null.&#x000D;&#x000A;Parameter name: source&#x000D;&#x000A;Stack:&#x000D;&#x000A; at System.Linq.Enumerable.SelectMany[TSource,TResult](IEnumerable`1 source, Func`2 selector)&#x000D;&#x000A; at Microsoft.VisualStudio.DesignTools.HostUtility.AppPackage.WindowsXamlManifestUtility.GenerateExtensionsXml(IHostProject project, ManifestSchema schema)&#x000D;&#x000A; at Microsoft.VisualStudio.DesignTools.HostUtility.AppPackage.WindowsXamlManifestUtility.&lt;&gt;c__DisplayClass33_0.&lt;GenerateManifestContents&gt;b__0()&#x000D;&#x000A; at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Remoting.ThreadMarshaler.&lt;&gt;c__DisplayClass48_0`1.&lt;MarshalIn&gt;b__0()&#x000D;&#x000A; at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Remoting.STAMarshaler.Call.InvokeWorker()&#x000D;&#x000A; at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Remoting.STAMarshaler.Call.Invoke(Boolean waitingInExternalCall)&#x000D;&#x000A; at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Remoting.STAMarshaler.InvokeCall(Call call)&#x000D;&#x000A; at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Remoting.STAMarshaler.DirectInvoke(Boolean inbound, Action action, Int32 sourceApartmentId, Int32 targetApartmentId, Int32 originId, WaitHandle aborted)&#x000D;&#x000A; at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Remoting.STAMarshaler.DirectInvokeInbound(Action action, Int32 targetApartmentId)&#x000D;&#x000A; at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Remoting.STAMarshaler.MarshalIn(Action action, Int32 targetApartmentId, CancellationToken cancelToken, CallSynchronizationMode syncMode, CallModality callModality, String methodName, String filePath, Int32 lineNumber)&#x000D;&#x000A; at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Remoting.ThreadMarshaler.MarshalIn(IRemoteObject targetObject, Action action, CallSynchronizationMode syncMode, CallModality callModality, ApartmentState apartmentState, String memberName, String filePath, Int32 lineNumber)&#x000D;&#x000A; at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Remoting.ThreadMarshaler.MarshalIn[TResult](IRemoteObject targetObject, Func`1 func, CallModality callModality, ApartmentState apartmentState, String memberName, String filePath, Int32 lineNumber)&#x000D;&#x000A; at Microsoft.VisualStudio.DesignTools.HostUtility.AppPackage.WindowsXamlManifestUtility.GenerateManifestContents(IEnumerable`1 dependencyIdentifiers, IHostProject project, String&amp; packageId)&#x000D;&#x000A; at Microsoft.VisualStudio.DesignTools.HostUtility.AppPackage.WindowsXamlAppPackage.CreateManifestFile()&#x000D;&#x000A; at Microsoft.VisualStudio.DesignTools.HostUtility.AppPackage.AppPackage.InitializeApplication()&#x000D;&#x000A; at Microsoft.VisualStudio.DesignTools.HostUtility.AppPackage.WindowsXamlAppPackage.CreateOrRecover(IHostProject project, IHostProjectService projectService, IHostPlatformService platformService, IHostShadowCopyService shadowCopyService, PackageService packageService, IHostFileChangeWatcherService fileChangeWatcherService, String frameworkPackagePath)&#x000D;&#x000A; at Microsoft.VisualStudio.DesignTools.HostUtility.AppPackage.PackageService.&lt;&gt;c__DisplayClass10_0.&lt;.ctor&gt;b__0(IHostProject project, IHostProjectService projectService, IHostPlatformService platformService, IHostShadowCopyService shadowCopyService)&#x000D;&#x000A; at Microsoft.VisualStudio.DesignTools.HostUtility.AppPackage.PackageService.CreateAppPackage(IHostProject hostProject)&#x000D;&#x000A; at Microsoft.VisualStudio.DesignTools.HostUtility.AppPackage.PackageService.GetOrCreateAppPackage(IHostProject project, Boolean&amp; isCreated)&#x000D;&#x000A; at Microsoft.VisualStudio.DesignTools.DesignerHost.HostServices.HostProject.get_AppPackage()&#x000D;&#x000A; at Microsoft.VisualStudio.DesignTools.Designer.DesignerService.InitializePrimaryProject(IHostProject project)&#x000D;&#x000A; at Microsoft.VisualStudio.DesignTools.Designer.DesignerService.InitializeLanguageContextComponents(IHostProject project)&#x000D;&#x000A; at Microsoft.VisualStudio.DesignTools.Designer.DesignerService.CreateDesigner(IHostSourceItem item, IHostTextEditor editor, CancellationToken cancelToken)&#x000D;&#x000A; at Microsoft.VisualStudio.DesignTools.DesignerContract.IsolatedDesignerService.IsolatedDesignerView.CreateDesignerViewInfo(CancellationToken cancelToken)&#x000D;&#x000A;&#x000D;&#x000A;</description> 

私は新しいプロジェクトを作成すると、設計者が正常に動作しますが、私は[アプリケーション]タブで、プロジェクトのプロパティに次のエラーを取得します:

プロパティアクセサ 'Targe 'Microsoft.VisualStudio.ProjectFlavoring.Automation.Project.CommonProjectExtender'オブジェクトの「説明」は次の例外を投げました: '値はnullにはできません。私は私の「古い」プロジェクトにデザイナーの問題を解決するために働いた分のバージョン10.0.10240を維持するか、SDK 10240を削除10586

として分を残す場合は、プロジェクトのプロパティで、まだエラーが

をたまたまどちらか

これが起こります

UPDATE:

は、私は完全にdevのサイトからVSインストーラを使用して8.1 SDKと一緒に、そして唯一の10 SDK(10586)を再インストールし、Windowsの10 SDKをアンインストールしhttps://developer.microsoft.com/en-us/windows/downloads

これは悪いことに、私はコンパイルできません。プロパティのアプリケーションタブに次のように表示されます:

ページの読み込み中にエラーが発生しました。 InvalidArgument = '0'の値は 'SelectedIndex'には無効です。 パラメータ名:SelectedIndexを

また、私は新しい空白ユニバーサルアプリを作成しようとすると、私は次のメッセージが出ます: は「ターゲットに適したSDKを見つけることができませんでした」と

答えて

1

まあ、アンインストールして働いただけの事すべてのスタンドアロンWindows SDKは、10586.11,10586.15以前から再インストールされ、10586.15を再インストールすると、これが最終的に機能します。誰かがこの問題に陥る場合に備えて

関連する問題