1

Closed

Error occurred while restoring NuGet packages

description

Error occurred while restoring NuGet packages
Error occurred while restoring NuGet packages: System.Runtime.InteropServices.COMException (0x80029C4A): Error loading type library/DLL. (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY))
at EnvDTE.Project.get_Properties()
at NuGet.VisualStudio.VsUtility.GetPropertyValue[T](Project project, String propertyName)
at NuGet.VisualStudio.VsUtility.GetFullPath(Project project)
at NuGet.VisualStudio.VsUtility.GetPackageReferenceFileFullPath(Project project)
at NuGet.VsEvents.PackageReferenceFileList.GetPackageReferenceFiles(Project project)
at NuGet.VsEvents.PackageReferenceFileList..ctor(Solution solution)
at NuGet.VsEvents.PackageRestorer.BuildEvents_OnBuildBegin(vsBuildScope Scope, vsBuildAction Action).
and no way to work
Closed Nov 25, 2013 at 7:01 PM by deepakverma
closing this issue, as was not able to repro it. Please reopen if you have a solution to share with the repro. thx.

comments

deepakverma wrote Nov 18, 2013 at 7:01 PM

Can you please share
  1. What kind of project you are targeting (is it a classlibrary, web project)?
  2. which version of NuGet you are using.

fisenkodv wrote Nov 18, 2013 at 8:07 PM

  1. Solution contains one class library and one web project
  2. NuGet 2.7.41101.371

deepakverma wrote Nov 18, 2013 at 11:20 PM

I was not able to repro it with a classlibrary and a web project in a solution with the same version. Can you please share your solution or a smaller solution where it repros on your box?

thx.