microsoft / ProjFS-Managed-API

A managed-code API for the Windows Projected File System
Other
142 stars 34 forks source link

Section on BadImageFormatExceptions also applies to FileNotFoundExceptions #92

Open Oinkium opened 9 months ago

Oinkium commented 9 months ago

I've recently had some trouble loading the ProjFS dll, and was experiencing a System.IO.FileNotFoundException trying to find the dll (in Visual Studio 2022). Following the instructions in the README for dealing with BadImageFormatExceptions (i.e., adding the UseIJWHost tag to my project) worked for me, even though I had never seen a BadImageFormatException. Perhaps the README could be updated to indicate that these steps can also help with FileNotFoundExceptions.