Section on BadImageFormatExceptions also applies to FileNotFoundExceptions

Open Beginner friendly
#92 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
72/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Stale
Tech stack
csharp
Domain
documentation

Research direction

Start in the README section covering BadImageFormatExceptions and review the instructions for adding the UseIJWHost tag. Update that section to explain that the same steps can also address FileNotFoundExceptions when loading the ProjFS DLL in Visual Studio, then verify the wording is clear and consistent with the existing instructions.

Written by the indexing model from the issue text.

Description

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.

Dominant language
C#
Stars
174
Forks
40
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/ProjFS-Managed-API

All issues in microsoft/ProjFS-Managed-API

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.