microsoft / ProjFS-Managed-API

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

Document C++ runtime as prerequisite #66

Closed hakito closed 3 years ago

hakito commented 3 years ago

On a non-development machine the loading of ProjectedFSLib.Managed.dll fails with a FileNotFoundException if C++ runtime (https://aka.ms/vs/16/release/vc_redist.x64.exe) is not installed.

cgallred commented 3 years ago

That is a common requirement for the majority of C++ applications or libraries developed with Visual Studio. The requirements for deploying a native desktop application built by Visual C++ are documented here.

hakito commented 3 years ago

Yes, if I compile the project on my own - that makes sense. But when simply consuming the nuget package, it is not so obvious.

cgallred commented 3 years ago

I'll add a note to the README to clarify that even if using the pre-compiled library you have to install the redistributable.