[Issue 12052] New: VS2013 (NuGet) complains a lot when VisualD projects are present

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jan 31 18:51:22 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=12052

           Summary: VS2013 (NuGet) complains a lot when VisualD projects
                    are present
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: VisualD
        AssignedTo: nobody at puremagic.com
        ReportedBy: turkeyman at gmail.com


--- Comment #0 from Manu <turkeyman at gmail.com> 2014-01-31 18:51:04 PST ---
I'm getting a lot of complaints when I use VisualD under VS2013.
This page suggests that maybe some project properties that NuGet tries to query
aren't implemented? http://nuget.codeplex.com/discussions/445802

Here is the spam that appears every build:


Error occurred while restoring NuGet packages:
System.ComponentModel.Composition.CompositionException: The composition
produced a single composition error. The root cause is provided below. Review
the CompositionException.Errors property for more detailed information.

1) The method or operation is not implemented.

Resulting in: An exception occurred while trying to create an instance of type
'NuGet.VisualStudio.SolutionManager'.

Resulting in: Cannot activate part 'NuGet.VisualStudio.SolutionManager'.
Element: NuGet.VisualStudio.SolutionManager --> 
NuGet.VisualStudio.SolutionManager

Resulting in: Cannot get export 'NuGet.VisualStudio.SolutionManager
(ContractName="NuGet.VisualStudio.ISolutionManager")' from part
'NuGet.VisualStudio.SolutionManager'.
Element: NuGet.VisualStudio.SolutionManager
(ContractName="NuGet.VisualStudio.ISolutionManager") --> 
NuGet.VisualStudio.SolutionManager

Resulting in: Cannot set import 'NuGet.VisualStudio.VsSettings..ctor
(Parameter="solutionManager",
ContractName="NuGet.VisualStudio.ISolutionManager")' on part
'NuGet.VisualStudio.VsSettings'.
Element: NuGet.VisualStudio.VsSettings..ctor (Parameter="solutionManager",
ContractName="NuGet.VisualStudio.ISolutionManager") --> 
NuGet.VisualStudio.VsSettings

Resulting in: Cannot get export 'NuGet.VisualStudio.VsSettings
(ContractName="NuGet.ISettings")' from part 'NuGet.VisualStudio.VsSettings'.
Element: NuGet.VisualStudio.VsSettings (ContractName="NuGet.ISettings") --> 
NuGet.VisualStudio.VsSettings

   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).

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list