I'm building my Visual Studio solution and in the output window there's an error just for one project.
In error tab:
Error 161 Cannot register type library "D:SitesWebsiteMyPortal.Website.ControllersinDebugMyPortal.Website.Controllers.tlb". Error accessing the OLE registry. (Exception from HRESULT: 0x8002801C (TYPE_E_REGISTRYACCESS)) MyPortal.Website.Controllers
In output tab:
Compile complete -- 0 errors, 153 warnings
MyPortal.Website.Controllers -> D:SitesWebsiteMyPortal.Website.ControllersinDebugMyPortal.Website.Controllers.dll
c:WindowsMicrosoft.NETFrameworkv4.0.30319Microsoft.Common.targets(3341,9): warning MSB3214: "D:SitesWebsiteMyPortal.Website.ControllersinDebugMyPortal.Website.Controllers.dll" does not contain any types that can be registered for COM Interop.
c:WindowsMicrosoft.NETFrameworkv4.0.30319Microsoft.Common.targets(3341,9): error MSB3213: Cannot register type library "D:SitesWebsiteMyPortal.Website.ControllersinDebugMyPortal.Website.Controllers.tlb". Error accessing the OLE registry. (Exception from HRESULT: 0x8002801C (TYPE_E_REGISTRYACCESS))
========== Rebuild All: 8 succeeded, 1 failed, 0 skipped ==========
Any ideas?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…