LINK : fatal error LNK1105: cannot close file ‘my.exe’; error code 1224

VS 2022 Pro 17.14.19

This only started happening recently and doesn’t happen on other systems in my office.

When building the Release version of my C++ (MFC) dll & exe, I get the following error message. It doesn’t happen on my Debug builds.

I’ve tried everything I’ve read online. Uninstalled/reinstalled VS 2022 and nothing changes. I’ve also tried to remove the files from the C:\Users{USERNAME}\AppData\Local\Microsoft\VisualStudio.

Any help is appreciated!!

Read more here: Source link