I have an application that is intended to be deployed with all MSVC dependencies side-by-side in order not to require administrator access to install the MSVC redistributables. The only system-wide DLLs it should depend on are .NET. I haven't figured out a way to test this capability without installing it on a totally stock machine and testing it there, which is rather inconvenient for both manual and automated (CI) testing.
Is there a reasonably simple way in Windows to turn off or intercept SxS lookup for certain DLLs?