Trying to connect an Access Database to a WPF project in Visual Studio 2019. My version of MS Access is 2016.
When trying to connect the dataset, I get the error in the title. Research shows a lot of solutions to install runtimes, none of which worked. None of them are even able to be installed. Trying to install the Access 2016 x64 runtime, gave me the error (paraphrasing) "Can not install 64-bit runtime due to conflicting 32 bit Microsoft Office components". So I uninstalled the 32-bit components and the installer then failed with a whole bunch of errors.
If I try to install the x86 runtime, it gives me the error "Can not install 32-bit runtime due to conflicting 64 bit Microsoft Office components".
I spent a good few hours on it, and I'm stumped as to why this is not included functionality. Have tried targeting the project to 32 bit, 64 bit and any CPU.
Does anybody have any ideas?