In VS2015 professional update 3 The Windows Software Development Kit (SDK) required by the XAML Designer was not correctly installed.

Mahendra, Reddy (Contractor) 1 Reputation point
2021-06-08T05:35:27.363+00:00

Hi All,
Recently I update my OS from windows 8.1 to windows 10. After completing the Visual studio 2015 professional update 3. When I lunch the my WPF application I found that XAML design forms are not loading and I am getting below SDK exceptions.

Windows Details:
![103312-osdetails.png][1]

VisualStudio Details:
![103230-vs2015version.png][2]

Exception Images:

[103301-xamlerror.png][2]

“System.InvalidOperationException
The Windows Software Development Kit (SDK) required by the XAML Designer was not correctly installed. Consider repairing your installation of either Visual Studio or the Windows SDK.
at Microsoft.VisualStudio.DesignTools.HostUtility.Platform.AppContainerProcessDomainFactory.CreateDesignerProcess(String applicationPath, String clientPort, Uri hostUri, IDictionary environmentVariables, Int32& processId, Object& processData) at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Primitives.ProcessDomainFactory.ProcessIsolationDomain..ctor(ProcessDomainFactory factory, IIsolationBoundary boundary, AppDomainSetup appDomainInfo, IIsolationTarget isolationTarget, String baseDirectory) at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Primitives.ProcessDomainFactory.CreateIsolationDomain(IIsolationBoundary boundary) at Microsoft.VisualStudio.DesignTools.HostUtility.Platform.AppContainerProcessDomainFactory.CreateIsolationDomain(IIsolationBoundary boundary) at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Primitives.IsolationBoundary.Initialize() at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Primitives.IsolationBoundary.CreateInstanceT at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.IsolatedObjectFactory.Initialize() at Microsoft.VisualStudio.DesignTools.DesignerHost.Services.VSIsolationService.CreateObjectFactory(IIsolationTarget isolationTarget, IObjectCatalog catalog) at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.IsolationService.CreateLease(IIsolationTarget isolationTarget) at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.IsolationService.CreateLease(IIsolationTarget isolationTarget) at Microsoft.VisualStudio.DesignTools.DesignerContract.IsolatedDesignerService.CreateLease(IIsolationTarget isolationTarget, CancellationToken cancelToken, DesignerServiceEntry& entry, IServiceProvider serviceOverrides) at Microsoft.VisualStudio.DesignTools.DesignerContract.IsolatedDesignerService.IsolatedDesignerView.CreateDesignerViewInfo(CancellationToken cancelToken) at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.IsolatedTaskScheduler.InvokeWithCultureT at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.IsolatedTaskScheduler.<>c_DisplayClass10_01.<StartTask>b_0() at System.Threading.Tasks.Task1.InnerInvoke() at System.Threading.Tasks.Task.Execute()


I did following steps to resolve this issue. But the issue is not resolved.
Link 1: https://stackoverflow.com/questions/37897420/system-invalidoperationexception-the-windows-software-development-kit-sdk-requ

As per above link I updated the Visual Studio's tools and updating the Windows SDK to the Windows 10 no use issue remains same.

Link 2: https://social.msdn.microsoft.com/Forums/vstudio/en-US/4aaebcb3-cae9-45f6-8a80-6dcba6ca459b/xaml-editor-error?forum=visualstudiogeneral
As per the above link source performed the below actions to resolve the issue. But no use.
Action 1:
Again format the laptop and reinstalled the windows 10. Then download the Visual studio 2015 professional update 3 from official MSDN site and installed. ---- No use the issue same.
Action 2: Updated all the installed Windows SDK kit --- No use the issue is remains same.

Action 3: Updated the windows update’s also.

Action 4:
Done all the actions in below links. But no use

  1. https://social.msdn.microsoft.com/Forums/vstudio/en-US/4aaebcb3-cae9-45f6-8a80-6dcba6ca459b/xaml-editor-error?forum=visualstudiogeneral
  2. https://stackoverflow.com/questions/34745554/unhandled-error-whilst-trying-to-open-the-xaml-designer-for-a-uwp-app-in-visual
  3. https://social.msdn.microsoft.com/Forums/en-US/c884eab0-0b6b-4479-acfd-c1e22c6a7d2e/known-issue-8211-visual-studio-2015-xaml-designer-fails-on-windows-10-build-1903?forum=Win10SDKToolsIssues
  4. https://social.msdn.microsoft.com/Forums/en-US/7bcf3e07-7b06-45d5-8a7b-a134dfef0585/visual-studio-update-2-not-detecting-windows-10-sdk?forum=wpdevelop
  5. https://stackoverflow.com/questions/42467179/vs2015-the-windows-software-development-kit-sdk-required-by-the-xaml-designe

Action 4:
I did a repair on vs2015 and did the uninstall and reinstalled the windows 10 sdk. I still have the problem.
I have no idea where to go from here.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,348 questions
Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,771 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
809 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.