Our situation is that we have built a MS Outlook 365 COM Add-In, and we are trying to publish it using Jenkins. We are able to build it successfully on commit using msbuild, but in trying to publish it we get the following error:
warning MSB3284: Cannot get the file path for type library "2df8d04c-5bfa-101b-bde5-00aa0044de52" version 2.8. Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED))
The library in question is the Microsoft Office 16.0 Object Library. I believe I have found the DLL, and have tried including it, and registering it on the publishing machine. It could not be registered, and simply including it did not solve the problem.
To build and publish we are using MSBuild 2019 with the following parameters:
/p:Configuration=Release /t:Publish /p:PublishUrl=\web1d$ApplicationsAddInName
Is there any way to get around this so it can successfully publish the setup?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…