I am having this error when i debug my bcstorm. Can someone help?
Code:
Error occurred while restoring NuGet packages: System.InvalidOperationException: GetExportedValue cannot be called before prerequisite import 'NuGet.VisualStudio.VsSettings..ctor (Parameter="solutionManager", ContractName="NuGet.VisualStudio.ISolutionManager")' has been set.
at System.ComponentModel.Composition.ReflectionModel.ReflectionComposablePart.EnsureGettable()
at System.ComponentModel.Composition.ReflectionModel.ReflectionComposablePart.GetExportedValue(ExportDefinition definition)
at System.ComponentModel.Composition.Hosting.CompositionServices.GetExportedValueFromComposedPart(ImportEngine engine, ComposablePart part, ExportDefinition definition)
at System.ComponentModel.Composition.Hosting.CatalogExportProvider.GetExportedValue(CatalogPart part, ExportDefinition export, Boolean isSharedPart)
at System.ComponentModel.Composition.Hosting.CatalogExportProvider.CatalogExport.GetExportedValueCore()
at System.ComponentModel.Composition.Primitives.Export.get_Value()
at System.ComponentModel.Composition.ExportServices.GetCastedExportedValue[T](Export export)
at System.ComponentModel.Composition.Hosting.ExportProvider.GetExportedValueCore[T](String contractName, ImportCardinality cardinality)
at System.ComponentModel.Composition.Hosting.ExportProvider.GetExportedValue[T](String contractName)
at System.ComponentModel.Composition.Hosting.ExportProvider.GetExportedValue[T]()
at Microsoft.VisualStudio.ComponentModelHost.ComponentModel.GetService[T]()
at NuGet.VisualStudio.ServiceLocator.GetComponentModelService[TService]()
at NuGet.VisualStudio.ServiceLocator.GetInstance[TService]()
at NuGet.VsEvents.PackageRestorer.IsAutomatic()
at NuGet.VsEvents.PackageRestorer.BuildEvents_OnBuildBegin(vsBuildScope Scope, vsBuildAction Action).
1>------ Build started: Project: Butterfly Emulator, Configuration: Debug x86 ------
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========