You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 25, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Feb 25, 2026. It is now read-only.
'System.Text.Json.ReflectionMemberAccessor' could not be found #4032
Projects updated to latest 7.0.2 version now building with this warning:
Embedded manifest in Microsoft.Toolkit.Uwp.UI.Controls.Media: Microsoft.Toolkit.Uwp.UI.Controls.Media.Properties.Microsoft.Toolkit.Uwp.UI.Controls.rd.xml(5): warning : ILTransform : warning ILT0027: Type 'System.Text.Json.ReflectionMemberAccessor' could not be found.
Not seen on version 7.0.0 or 7.0.1
Steps to Reproduce
Steps to reproduce the behavior:
Update to 7.0.2
Environment
NuGet Package(s): 7.0.2
Package Version(s):
Windows 10 Build Number:
- [ ] Fall Creators Update (16299)
- [ ] April 2018 Update (17134)
- [ ] October 2018 Update (17763)
- [ ] May 2019 Update (18362)
- [ ] May 2020 Update (19041)
- [x] Insider Build (build number: 19043)
App min and target version:
- [ ] Fall Creators Update (16299)
- [ ] April 2018 Update (17134)
- [ ] October 2018 Update (17763)
- [ ] May 2019 Update (18362)
- [x] May 2020 Update (19041)
- [x] Insider Build (19043)
Device form factor:
- [x] Desktop
- [ ] Xbox
- [ ] Surface Hub
- [ ] IoT
Visual Studio
- [ ] 2017 (version: )
- [x] 2019 (version: 16.9.5)
- [ ] 2019 Preview (version: )
That file has changed, and, in theory, to fix the issue we were working around with out rd.xml file: dotnet/runtime@c73ef49#diff-f5720afdbbfb4d6676f9ae0daad63b3ddd84a818803f00c2566cdc4c9f5a0ac3
Maybe we just don't need that line anymore? Not that it matters much, but the rd.xml files do not seem to match the project name, so it took me a while to figure that this was the media one. I would open a separate issue to rename these files to match their projects.
When it builds it should provide a NuGet package you can try by following our preview package steps in our wiki here - would you mind trying that out and seeing if it resolves your issue? (If you can check your project runs in Release as well, that'd be great.)
Activity
Kyaa-dost commentedon May 17, 2021
@myokeeh can you try recreating your project? Also, please specify the steps you are taking from the beginning.
michael-hawker commentedon May 17, 2021
@azchohfi I had moved the
System.Text.Jsonversion up in our last patch here: f08a351I didn't notice any issues in the smoke tests or our unit tests around this. Thoughts?
azchohfi commentedon May 17, 2021
That file has changed, and, in theory, to fix the issue we were working around with out rd.xml file:
dotnet/runtime@c73ef49#diff-f5720afdbbfb4d6676f9ae0daad63b3ddd84a818803f00c2566cdc4c9f5a0ac3
Maybe we just don't need that line anymore? Not that it matters much, but the rd.xml files do not seem to match the project name, so it took me a while to figure that this was the media one. I would open a separate issue to rename these files to match their projects.
myokeeh commentedon May 18, 2021
@Kyaa-dost, do you still need more info given the last two comments?
Try fix for #4032
michael-hawker commentedon May 18, 2021
@myokeeh I've tried removing the line that @azchohfi tested here: #4037
When it builds it should provide a NuGet package you can try by following our preview package steps in our wiki here - would you mind trying that out and seeing if it resolves your issue? (If you can check your project runs in Release as well, that'd be great.)
Edit: Should be 7.0.0-build.1191+253df42f96
Nirmal4G commentedon May 19, 2021
@azchohfi
I also did hit a different issue that prompted me to check and rename these files to match the library name. The changes are already in my PR #3893.
Try Fix for #4032
Try Fix for #4032
yoshiask commentedon Sep 13, 2021
I just ran into this issue today, even though I updated to 7.0.2 three months ago and successfully built Release packages multiple times since then.