main is broken
See original GitHub issueAttempting to use the main
branch currently fails with this exception:
System.AggregateException: One or more errors occurred. (No export was found for the contract 'IVSTypeScriptFormattingServiceImplementation'
-> required by import 'impl' of part 'VSTypeScriptFormattingService'
-> required by import 'value' of part 'Lazy<ILanguageService, LanguageServiceMetadata>'
-> required by import 'item' of part 'Lazy`2[]'
-> required by initial request for contract 'IEnumerable<Lazy<ILanguageService, LanguageServiceMetadata>> { IsImportMany = True }') (No export was found for the contract 'IVSTypeScriptFormattingServiceImplementation'
-> required by import 'impl' of part 'VSTypeScriptFormattingService'
-> required by import 'value' of part 'Lazy<ILanguageService, LanguageServiceMetadata>'
-> required by import 'item' of part 'Lazy`2[]'
-> required by initial request for contract 'IEnumerable<Lazy<ILanguageService, LanguageServiceMetadata>> { IsImportMany = True }')
---> System.Composition.Hosting.CompositionFailedException: No export was found for the contract 'IVSTypeScriptFormattingServiceImplementation'
-> required by import 'impl' of part 'VSTypeScriptFormattingService'
-> required by import 'value' of part 'Lazy<ILanguageService, LanguageServiceMetadata>'
-> required by import 'item' of part 'Lazy`2[]'
-> required by initial request for contract 'IEnumerable<Lazy<ILanguageService, LanguageServiceMetadata>> { IsImportMany = True }'
at System.Composition.Hosting.Core.ExportDescriptorRegistryUpdate.CheckTarget(CompositionDependency dependency, HashSet`1 checked, Stack`1 checking)
at System.Composition.Hosting.Core.ExportDescriptorRegistryUpdate.CheckDependency(CompositionDependency dependency, HashSet`1 checked, Stack`1 checking)
at System.Composition.Hosting.Core.ExportDescriptorRegistryUpdate.CheckTarget(CompositionDependency dependency, HashSet`1 checked, Stack`1 checking)
at System.Composition.Hosting.Core.ExportDescriptorRegistryUpdate.CheckDependency(CompositionDependency dependency, HashSet`1 checked, Stack`1 checking)
at System.Composition.Hosting.Core.ExportDescriptorRegistryUpdate.CheckTarget(CompositionDependency dependency, HashSet`1 checked, Stack`1 checking)
at System.Composition.Hosting.Core.ExportDescriptorRegistryUpdate.CheckDependency(CompositionDependency dependency, HashSet`1 checked, Stack`1 checking)
at System.Composition.Hosting.Core.ExportDescriptorRegistryUpdate.CheckTarget(CompositionDependency dependency, HashSet`1 checked, Stack`1 checking)
at System.Composition.Hosting.Core.ExportDescriptorRegistryUpdate.Execute(CompositionContract contract)
at System.Composition.Hosting.Core.ExportDescriptorRegistry.TryGetSingleForExport(CompositionContract exportKey, ExportDescriptor& defaultForExport)
at System.Composition.Hosting.Core.LifetimeContext.TryGetExport(CompositionContract contract, Object& export)
at System.Composition.Hosting.CompositionHost.TryGetExport(CompositionContract contract, Object& export)
at System.Composition.CompositionContextExtensions.SatisfyImportsInternal(CompositionContext exportProvider, Object objectWithLooseImports, AttributedModelProvider conventions)
at Microsoft.CodeAnalysis.Host.Mef.MefHostServices.Microsoft.CodeAnalysis.Host.Mef.IMefHostExportProvider.GetExports[TExtension,TMetadata]() in /_/src/Workspaces/Core/Portable/Workspace/Host/Mef/MefHostServices.cs:line 69
at Microsoft.CodeAnalysis.Host.Mef.MefLanguageServices..ctor(MefWorkspaceServices workspaceServices, String language) in /_/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/Workspace/Mef/MefLanguageServices.cs:line 25
at Microsoft.CodeAnalysis.Host.Mef.MefWorkspaceServices.<>c.<GetLanguageServices>b__21_0(String languageName, MefWorkspaceServices self) in /_/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/Workspace/Mef/MefWorkspaceServices.cs:line 163
at System.Collections.Immutable.ImmutableInterlocked.GetOrAdd[TKey,TValue,TArg](ImmutableDictionary`2& location, TKey key, Func`3 valueFactory, TArg factoryArgument)
at Microsoft.CodeAnalysis.Host.Mef.MefWorkspaceServices.GetLanguageServices(String languageName) in /_/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/Workspace/Mef/MefWorkspaceServices.cs:line 160
at Microsoft.CodeAnalysis.SolutionState.AddProject(ProjectInfo projectInfo) in /_/src/Workspaces/Core/Portable/Workspace/Solution/SolutionState.cs:line 527
at Microsoft.CodeAnalysis.Solution.AddProject(ProjectInfo projectInfo) in /_/src/Workspaces/Core/Portable/Workspace/Solution/Solution.cs:line 317
at MirrorSharp.Internal.Roslyn.RoslynSession.CreateProjectAndOpenNewDocument(Workspace workspace, ProjectInfo projectInfo, SourceText sourceText) in D:\a\SharpLab\SharpLab\!roslyn-branches\dotnet-main\sharplab\source\#external\mirrorsharp\Common\Internal\Roslyn\RoslynSession.cs:line 75
at MirrorSharp.Internal.Roslyn.RoslynSession..ctor(SourceText sourceText, ProjectInfo projectInfo, MefHostServices hostServices, ImmutableArray`1 analyzers, ImmutableDictionary`2 codeFixProviders, ImmutableArray`1 signatureHelpProviders, ILanguageSessionExtensions extensions) in D:\a\SharpLab\SharpLab\!roslyn-branches\dotnet-main\sharplab\source\#external\mirrorsharp\Common\Internal\Roslyn\RoslynSession.cs:line 67
at MirrorSharp.Internal.Roslyn.RoslynLanguageBase.CreateSession(String text, ILanguageSessionExtensions extensions) in D:\a\SharpLab\SharpLab\!roslyn-branches\dotnet-main\sharplab\source\#external\mirrorsharp\Common\Internal\Roslyn\RoslynLanguageBase.cs:line 70
at MirrorSharp.Internal.Handlers.RequestInfoTipHandler.ExecuteAsync(AsyncData data, WorkSession session, ICommandResultSender sender, CancellationToken cancellationToken) in D:\a\SharpLab\SharpLab\!roslyn-branches\dotnet-main\sharplab\source\#external\mirrorsharp\Common\Internal\Handlers\RequestInfoTipHandler.cs:line 16
at MirrorSharp.Internal.Connection.ReceiveAndProcessInternalAsync(CancellationToken cancellationToken) in D:\a\SharpLab\SharpLab\!roslyn-branches\dotnet-main\sharplab\source\#external\mirrorsharp\Common\Internal\Connection.cs:line 118
at MirrorSharp.Internal.Connection.ReceiveAndProcessAsync(CancellationToken cancellationToken) in D:\a\SharpLab\SharpLab\!roslyn-branches\dotnet-main\sharplab\source\#external\mirrorsharp\Common\Internal\Connection.cs:line 73
--- End of inner exception stack trace ---
---> (Inner Exception #1) System.Composition.Hosting.CompositionFailedException: No export was found for the contract 'IVSTypeScriptFormattingServiceImplementation'
-> required by import 'impl' of part 'VSTypeScriptFormattingService'
-> required by import 'value' of part 'Lazy<ILanguageService, LanguageServiceMetadata>'
-> required by import 'item' of part 'Lazy`2[]'
-> required by initial request for contract 'IEnumerable<Lazy<ILanguageService, LanguageServiceMetadata>> { IsImportMany = True }'
at System.Composition.Hosting.Core.ExportDescriptorRegistryUpdate.CheckTarget(CompositionDependency dependency, HashSet`1 checked, Stack`1 checking)
at System.Composition.Hosting.Core.ExportDescriptorRegistryUpdate.CheckDependency(CompositionDependency dependency, HashSet`1 checked, Stack`1 checking)
at System.Composition.Hosting.Core.ExportDescriptorRegistryUpdate.CheckTarget(CompositionDependency dependency, HashSet`1 checked, Stack`1 checking)
at System.Composition.Hosting.Core.ExportDescriptorRegistryUpdate.CheckDependency(CompositionDependency dependency, HashSet`1 checked, Stack`1 checking)
at System.Composition.Hosting.Core.ExportDescriptorRegistryUpdate.CheckTarget(CompositionDependency dependency, HashSet`1 checked, Stack`1 checking)
at System.Composition.Hosting.Core.ExportDescriptorRegistryUpdate.CheckDependency(CompositionDependency dependency, HashSet`1 checked, Stack`1 checking)
at System.Composition.Hosting.Core.ExportDescriptorRegistryUpdate.CheckTarget(CompositionDependency dependency, HashSet`1 checked, Stack`1 checking)
at System.Composition.Hosting.Core.ExportDescriptorRegistryUpdate.Execute(CompositionContract contract)
at System.Composition.Hosting.Core.ExportDescriptorRegistry.TryGetSingleForExport(CompositionContract exportKey, ExportDescriptor& defaultForExport)
at System.Composition.Hosting.Core.LifetimeContext.TryGetExport(CompositionContract contract, Object& export)
at System.Composition.Hosting.CompositionHost.TryGetExport(CompositionContract contract, Object& export)
at System.Composition.CompositionContextExtensions.SatisfyImportsInternal(CompositionContext exportProvider, Object objectWithLooseImports, AttributedModelProvider conventions)
at Microsoft.CodeAnalysis.Host.Mef.MefHostServices.Microsoft.CodeAnalysis.Host.Mef.IMefHostExportProvider.GetExports[TExtension,TMetadata]() in /_/src/Workspaces/Core/Portable/Workspace/Host/Mef/MefHostServices.cs:line 69
at Microsoft.CodeAnalysis.Host.Mef.MefLanguageServices..ctor(MefWorkspaceServices workspaceServices, String language) in /_/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/Workspace/Mef/MefLanguageServices.cs:line 25
at Microsoft.CodeAnalysis.Host.Mef.MefWorkspaceServices.<>c.<GetLanguageServices>b__21_0(String languageName, MefWorkspaceServices self) in /_/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/Workspace/Mef/MefWorkspaceServices.cs:line 163
at System.Collections.Immutable.ImmutableInterlocked.GetOrAdd[TKey,TValue,TArg](ImmutableDictionary`2& location, TKey key, Func`3 valueFactory, TArg factoryArgument)
at Microsoft.CodeAnalysis.Host.Mef.MefWorkspaceServices.GetLanguageServices(String languageName) in /_/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/Workspace/Mef/MefWorkspaceServices.cs:line 160
at Microsoft.CodeAnalysis.SolutionState.AddProject(ProjectInfo projectInfo) in /_/src/Workspaces/Core/Portable/Workspace/Solution/SolutionState.cs:line 527
at Microsoft.CodeAnalysis.Solution.AddProject(ProjectInfo projectInfo) in /_/src/Workspaces/Core/Portable/Workspace/Solution/Solution.cs:line 317
at MirrorSharp.Internal.Roslyn.RoslynSession.CreateProjectAndOpenNewDocument(Workspace workspace, ProjectInfo projectInfo, SourceText sourceText) in D:\a\SharpLab\SharpLab\!roslyn-branches\dotnet-main\sharplab\source\#external\mirrorsharp\Common\Internal\Roslyn\RoslynSession.cs:line 75
at MirrorSharp.Internal.Roslyn.RoslynSession..ctor(SourceText sourceText, ProjectInfo projectInfo, MefHostServices hostServices, ImmutableArray`1 analyzers, ImmutableDictionary`2 codeFixProviders, ImmutableArray`1 signatureHelpProviders, ILanguageSessionExtensions extensions) in D:\a\SharpLab\SharpLab\!roslyn-branches\dotnet-main\sharplab\source\#external\mirrorsharp\Common\Internal\Roslyn\RoslynSession.cs:line 67
at MirrorSharp.Internal.Roslyn.RoslynLanguageBase.CreateSession(String text, ILanguageSessionExtensions extensions) in D:\a\SharpLab\SharpLab\!roslyn-branches\dotnet-main\sharplab\source\#external\mirrorsharp\Common\Internal\Roslyn\RoslynLanguageBase.cs:line 70
at MirrorSharp.Internal.WorkSession.GetText() in D:\a\SharpLab\SharpLab\!roslyn-branches\dotnet-main\sharplab\source\#external\mirrorsharp\Common\Internal\WorkSession.cs:line 51
at SharpLab.Server.Integration.Azure.ApplicationInsightsMonitor.Exception(Exception exception, IWorkSession session, IDictionary`2 extras) in D:\a\SharpLab\SharpLab\!roslyn-branches\dotnet-main\sharplab\source\Server\Integration\Azure\ApplicationInsightsMonitor.cs:line 33
at SharpLab.Server.MirrorSharp.MonitorExceptionLogger.LogException(Exception exception, IWorkSession session) in D:\a\SharpLab\SharpLab\!roslyn-branches\dotnet-main\sharplab\source\Server\MirrorSharp\MonitorExceptionLogger.cs:line 20
at MirrorSharp.Internal.Connection.ReceiveAndProcessAsync(CancellationToken cancellationToken) in D:\a\SharpLab\SharpLab\!roslyn-branches\dotnet-main\sharplab\source\#external\mirrorsharp\Common\Internal\Connection.cs:line 73<---
Issue Analytics
- State:
- Created 2 years ago
- Reactions:6
- Comments:9 (2 by maintainers)
Top Results From Across the Web
I Think My Water Main is Broken. What Should I Do?
Besides temperature changes, some other causes of water main breaks can be: Corrosion: Over time, water mains can deteriorate due to corrosion. Corrosion...
Read more >Water Main Repairs Map | Baltimore City Department of Public ...
Use Interactive Map to Find Details on Water Main Repairs This interactive map ... The map symbols provide information on “confirmed main breaks,”...
Read more >What To Do If Your Water Main Line is Broken
While a homeowner benefits from knowing the moving parts of the home, water main line is one repair best left to your local...
Read more >7 Most Common Warning Signs of a Broken or Leaking ...
The leaking water from a burst water main can cause significant damage to the building and its flooring, landscaping and even foundation.
Read more >Here's Why Water Mains Break
Water main breaks can close down roads, damage property and lead to expensive repairs. But why do pipes break, and what can you...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks ashmind for all your work on sharplab. We really appreciate it.
Thanks for the ping – this is normally updated automatically, but I see there is an issue that requires manual resolution (needs version upgrade on one of the dependencies) – I’ll take a look now.