![]() What process is it that adds the PrimaryInteropAssemblyName to v2.8 of the ADO registry entry? Surely hacking it in via reg add isnt the right thing to do. Microsoft ActiveX Data Objects 2.8 Library.Connection Microsoft ActiveX Data Objects 2.8 Library.Command Microsoft ActiveX Data Objects 2.8 Library. I have tried copying the version of ADODB.dll from my machine to the container and adding it to the GAC using gacutil but that added the PrimaryInteropAssemblyName to v2.7 of the ADO registry entry.Īs a complete hatchet-job, if I manually add that string into the v2.8 registry entry in the docker container then MSBuild completes successfully. ![]() In addition, it contains a list of ADO syntax indexes to be used with Microsoft Visual C++ and Windows Foundation Classes (WFC). In the container, if i run req query against the CLSID for v2.8 of ADODB i see the following: HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\\2.8\FLAGSĪs you can see my development PC has the PrimaryInteropAssemblyName property. This section of the ADO documentation contains topics for each ADO object, collection, property, dynamic property, method, event, and enumeration. If I then try to run MSBuild within the container the build fails with Cannot find wrapper assembly for type library ADODB. Using the /dotnet/framework/sdk:4.8-20211012-windowsservercore-ltsc2019 base image we then install and register all required components. I am trying to produce a Docker container capable of building our web app, which uses ADO 2.8.Ĭurrently we are able to build the we app from the command line using MSBuild with no problems whatsoever.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |