Could not load file or assembly 'Microsoft.VisualStudio.Web.PageInspector.Loader

后端 未结 14 1788
清酒与你
清酒与你 2020-12-12 23:31
Could not load file or assembly \'Microsoft.VisualStudio.Web.PageInspector.Loader, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\' or one of its depen         


        
14条回答
  •  粉色の甜心
    2020-12-12 23:48

    Our project had (incorrectly) reference to the PageInspector.Loader.dll in the GAC for a long time:

     
        
          ..\..\..\..\..\..\Windows\Microsoft.NET\assembly\GAC_MSIL\Microsoft.VisualStudio.Web.PageInspector.Loader\v4.0_1.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Web.PageInspector.Loader.dll
        
      
    

    It worked for some time, but recently deployment to Azure caused the error "Can not find compilation library location for package Microsoft.VisualStudio.Web.PageInspector.Loader".

    We found and deleted the reference from .csproj file and the problem was fixed.

提交回复
热议问题