locked
JSAPI 1.0.RC for Windows 8 RC and LiveSDK not playing nice!

    Question

  • We've been working on a metroapplication using the 0.6 JSAPI and recently tried to upgrade it to the 1.0.RC API. When we add in the reference to LiveSDK we get an error saying that SignInControl already exists in the tree and it points out an errorlog. We even tried creating a fresh metro-project and we still end up with the same error when adding LiveSDK. Is LiveSDK already included in the 1.0.RC JSAPI?

    =====================
    2012-06-11 10:01:35
    Recoverable
    System.AggregateException: One or more errors occurred. ---> System.ArgumentException: An item with the caption "SignInControl" already exists in the tree with the same sort order as the item being added.
       at Microsoft.VisualStudio.Project.Designers.ProjectTree.Add(UnattachedProjectTreeNode node)
       at Microsoft.VisualStudio.Project.Designers.ProjectTree.Add(IProjectTree subtree)
       at Microsoft.VisualStudio.JavaScript.Project.References.ReferencedFilesTreeModifier.AddFilesAndSubfolders(List`1 manifestPaths, String currentFolderPath, IProjectTree currentFolderTree, String sdkRootPath, Boolean isFramework, String sdkSymbol, String sdkVersion, String pathToSdkManifest)
       at Microsoft.VisualStudio.JavaScript.Project.References.ReferencedFilesTreeModifier.AddFilesAndSubfolders(List`1 manifestPaths, String currentFolderPath, IProjectTree currentFolderTree, String sdkRootPath, Boolean isFramework, String sdkSymbol, String sdkVersion, String pathToSdkManifest)
       at Microsoft.VisualStudio.JavaScript.Project.References.ReferencedFilesTreeModifier.ApplyModifications(IProjectTree tree, IProjectTreeProvider projectTreeProvider)
       at Microsoft.VisualStudio.Project.Utilities.Designers.ProjectTreeProviderBase.ApplyExtensionModifications(IProjectTree tree, ConfiguredProjectExports configuredProjectExports)
       at Microsoft.VisualStudio.Project.Utilities.Designers.ProjectTreeProviderBase.NewTree(String caption, IProjectPropertiesContext item, IPropertySheet propertySheet, IRule browseObjectProperties, Image icon, Image expandedIcon, Boolean visible, IEnumerable`1 capabilities, Boolean isLinked)
       at Microsoft.VisualStudio.JavaScript.Project.References.JavaScriptReferencesSubtreeProvider.CreateOrUpdateReferenceNode(String unresolvedReferenceItemType, String unresolvedReferenceItemSpec, IProjectRuleSnapshot[] resolvedReferences, IProjectTree& parentNode, IProjectTree oldNode, JsConfiguredProjectExports configuredProjectExports)
       at Microsoft.VisualStudio.JavaScript.Project.References.JavaScriptReferencesSubtreeProvider.<>c__DisplayClass32.<ProjectSubscriptionService_JointRuleBlock_Changed>b__2c(IProjectTreeSnapshot thisTreeSnapshot, ConfiguredProjectExports exports, CancellationToken ct)
       at Microsoft.VisualStudio.Project.Utilities.Designers.ProjectTreeProviderBase.<>c__DisplayClass7.<<Initialize>b__3>d__9.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at Microsoft.VisualStudio.Project.Utilities.CommonProjectSystemTools.Rethrow(Exception ex)
       at Microsoft.VisualStudio.Project.ProjectErrorReporting.<>c__DisplayClass5.<SubmitErrorReport>b__3()
       at Microsoft.VisualStudio.Project.ExceptionFilter.<>c__DisplayClass2.<Guard>b__0()
       at GuardMethodClass.GuardMethod(Func`1 , Func`2 , Func`2 )
       --- End of inner exception stack trace ---
    ---> (Inner Exception #0) System.ArgumentException: An item with the caption "SignInControl" already exists in the tree with the same sort order as the item being added.
       at Microsoft.VisualStudio.Project.Designers.ProjectTree.Add(UnattachedProjectTreeNode node)
       at Microsoft.VisualStudio.Project.Designers.ProjectTree.Add(IProjectTree subtree)
       at Microsoft.VisualStudio.JavaScript.Project.References.ReferencedFilesTreeModifier.AddFilesAndSubfolders(List`1 manifestPaths, String currentFolderPath, IProjectTree currentFolderTree, String sdkRootPath, Boolean isFramework, String sdkSymbol, String sdkVersion, String pathToSdkManifest)
       at Microsoft.VisualStudio.JavaScript.Project.References.ReferencedFilesTreeModifier.AddFilesAndSubfolders(List`1 manifestPaths, String currentFolderPath, IProjectTree currentFolderTree, String sdkRootPath, Boolean isFramework, String sdkSymbol, String sdkVersion, String pathToSdkManifest)
       at Microsoft.VisualStudio.JavaScript.Project.References.ReferencedFilesTreeModifier.ApplyModifications(IProjectTree tree, IProjectTreeProvider projectTreeProvider)
       at Microsoft.VisualStudio.Project.Utilities.Designers.ProjectTreeProviderBase.ApplyExtensionModifications(IProjectTree tree, ConfiguredProjectExports configuredProjectExports)
       at Microsoft.VisualStudio.Project.Utilities.Designers.ProjectTreeProviderBase.NewTree(String caption, IProjectPropertiesContext item, IPropertySheet propertySheet, IRule browseObjectProperties, Image icon, Image expandedIcon, Boolean visible, IEnumerable`1 capabilities, Boolean isLinked)
       at Microsoft.VisualStudio.JavaScript.Project.References.JavaScriptReferencesSubtreeProvider.CreateOrUpdateReferenceNode(String unresolvedReferenceItemType, String unresolvedReferenceItemSpec, IProjectRuleSnapshot[] resolvedReferences, IProjectTree& parentNode, IProjectTree oldNode, JsConfiguredProjectExports configuredProjectExports)
       at Microsoft.VisualStudio.JavaScript.Project.References.JavaScriptReferencesSubtreeProvider.<>c__DisplayClass32.<ProjectSubscriptionService_JointRuleBlock_Changed>b__2c(IProjectTreeSnapshot thisTreeSnapshot, ConfiguredProjectExports exports, CancellationToken ct)
       at Microsoft.VisualStudio.Project.Utilities.Designers.ProjectTreeProviderBase.<>c__DisplayClass7.<<Initialize>b__3>d__9.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at Microsoft.VisualStudio.Project.Utilities.CommonProjectSystemTools.Rethrow(Exception ex)
       at Microsoft.VisualStudio.Project.ProjectErrorReporting.<>c__DisplayClass5.<SubmitErrorReport>b__3()
       at Microsoft.VisualStudio.Project.ExceptionFilter.<>c__DisplayClass2.<Guard>b__0()
       at GuardMethodClass.GuardMethod(Func`1 , Func`2 , Func`2 )<---

    ===================


    Monday, June 11, 2012 8:20 AM

Answers

All replies