Not sure if this belongs here (since it pertains to WP7) or in Development Discussion. A while back I installed the WP7 SDK for VS10 and everything worked out just fine (but I didn't use it too much). Now I'm looking to work on some proojects with a friend of mine, but when I start a new project, instead of getting the WYSIWYG GUI editor I get an ugly error:
Code:
System.NotSupportedException
Could not find Microsoft Silverlight SDK v4.0. Please make sure that the correct version of the Microsoft Silverlight SDK has been installed.
at MS.Internal.Platform.SilverlightResolver.get_ReferenceAssemblyPath()
at MS.Internal.Platform.SilverlightPlatform.ConfigureAppDomain(AppDomainSetup setup)
at Microsoft.Windows.Design.Platform.PlatformLoader.ConfigureAppDomain(AppDomainSetup setup)
at MS.Internal.Package.VSIsolationProviderService.CreateIsolationProvider(String originalIdentifier, Boolean isGlobal, String identity, FrameworkName frameworkName, AssemblyName appAssemblyName, IVsHierarchy hierarchy)
at MS.Internal.Package.VSIsolationProviderService.CreateIsolationProviderWorker(String identifier, IServiceProvider provider)
at MS.Internal.Package.VSIsolationProviderService.CreateIsolationProvider(String identifier, IServiceProvider provider)
at MS.Internal.Providers.VSDesignerContext.CreateIsolationProvider(IServiceProvider provider, IVsHierarchy hierarchy)
at MS.Internal.Providers.VSDesignerContext.<>c__DisplayClass1.<Initialize>b__0(IsolationProviderProxy i)
at MS.Internal.Providers.IsolationProviderProxy.get_RealProvider()
at MS.Internal.Providers.IsolationProviderProxy.add_UnhandledException(UnhandledExceptionEventHandler value)
at MS.Internal.Designer.DesignerPane.LoadDesignerView(Boolean isReload)
I have Silverlight SDK 4.0 installed and no other version of it. I've been searching around, but there hasn't been a straight forward fix or reason for this (other than one that called for running some commands that could mess up the registry and could possibly not work). I've reinstalled the SDK so many times, but it doesn't seem to help Anyone else have this problem and/or know of a solution?