microsoft / p4vfs

Microsoft Virtual File System for Perforce
MIT License
272 stars 13 forks source link

When I download the exe from the readme, the installation is successful, but when I compile and install from the source code, the installation fails, and the error is reported:Loading p4vfsflt Driver load FAILED #20

Open gaojun-lin opened 1 year ago

gaojun-lin commented 1 year ago

When I download the exe from the readme, the installation is successful, but when I compile and install from the source code, the installation fails, and the error is reported:Loading p4vfsflt Driver load FAILED

jessk-msft commented 1 year ago

Make sure to build either Debug or Release configuration, which will use the corresponding signed release driver binaries instead of the local built binaries. If you are intending to develop and test changes to the (kernel mode) test-signed driver, then Debug-Dev and Release-Dev configurations are used. Steps must be taken to provision a machine for loading test-signed driver binaries. If not, then you'll encounter driver load errors as you describe.

There are some scripts which we use for provisioning VM's for kernel mode driver deployment and testing for P4VFS. P4VFS.Driver/Scripts. There's a lot more to it though.