You might have problems with your MPI (or whatever it is called) library. You say you updated VS. That will usually require rebuilding all your project's/solution's files, including any 3rd party libs used.
Delete all your .pdb files. Those are what is causing the error.
If you are using batch build use the clean button for the solution. If batch building use rebuild for the entire solution.
You can clean and rebuild individual projects in your solution.
Drastic measure is deleting the entire contents of your debug and release folders. If you are building x86, don't. Try building for x64 only.
Check and see if your 3rd party library is maintained by vcpkg.
https://vcpkg.io/en/index.html
If it is, and you didn't install it using vcpkg consider installing it via vcpkg.
If you did use vcpkg, delete the library with vcpkg and reinstall it so it is properly compiled by the newer version of VS.
vcpkg makes getting, installing and maintaining 3rd party libraries much easier when used with VS.