microsoftgraph / microsoftgraph/msgraph-sdk-dotnet

Trying out v5. UWP App does not build in Release mode. ILT0005 and RHBIND : error RHB0002: Failed to write PDB.

Open
#1,696 24 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Status: Needs investigation
Dominant language
C#
Stars
789
Forks
264
Avg merge
15h 17m
Merged PRs (30d)
3

Description

Describe the bug
I was able to get my app updated to v5 and works in Debug mode, but now that I'm trying to run/build in Release mode, I'm getting the following:

ILT0005: 'C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\runtime.win10-x64.microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\x64\ilc\Tools\rhbind.exe @"C:\Users\Me\Source\Repos\App\obj\x64\Release\ilc\intermediate\rhbindargs.APP.rsp"' returned exit code 2
RHBIND : error RHB0002: Failed to write PDB.

This was the only major change to the app, so I'm currently assuming V5 is the culprit. Release build time is much longer than normal and takes a while to get the above errors. I will try to roll back changes and try rebuilding with an older version.

To Reproduce

  1. Upgrade to v5
  2. Update code to work with v5
  3. Run in release mode

Expected behavior
App should build and run

Desktop (please complete the following information):

  • OS: Windows 11

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.

Research direction

Start by reproducing the Release build after the v5 upgrade on Windows 11 and inspect the reported ILT0005 and RHB0002 output. The payload names no source file or test; done means the Release build succeeds and the app runs, while the old comment thread should be checked for context.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
build-system, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.