❔ I need help troubleshooting errors
I keep getting error MSB3823 and MSB3822
Status: Unfixed
44 Replies
Sorry, can't remember what those are
Could you post the actual error messages?
C:\Program Files\dotnet\sdk\8.0.100-rc.2.23502.2\Microsoft.Common.CurrentVersion.targets(3343,5): error MSB3822: Non-string res
ources require the System.Resources.Extensions assembly at runtime, but it was not found in this project's references.
they have the same description
Try installing this nuget: https://www.nuget.org/packages/System.Resources.Extensions/
Seems like it's required to use non-string resources
C:\Program Files\dotnet\sdk\8.0.100-rc.2.23502.2\Microsoft.Common.CurrentVersion.targets(3343,5): error MSB3823: Non-string res
ources require the property GenerateResourceUsePreserializedResources to be set to true
should i manually set it?
Probably, yes
C:\Program Files\dotnet\sdk\8.0.100-rc.2.23502.2\Microsoft.Common.CurrentVersion.targets(3343,5): error MSB3823: Non-string res
ources require the property GenerateResourceUsePreserializedResources to be set to true
same error after setting it
GitHub
"MSB3823: Non-string resources require the property GenerateResourc...
We have a few projects that muti target .net core and the old fashioned .net framework. Some of these include binary resources (mostly images). With .net core 2.1 / 2.2 they build successfully but ...
Is this how you did it?
C:\Program Files\dotnet\sdk\8.0.100-rc.2.23502.2\Microsoft.Common.CurrentVersion.targets(3376,5): error MSB4067: The element <#
text> beneath element <GenerateResource> is unrecognized
im gettin all of the errors
just so you know im building
@ZZZZZZZZZZZZZZZZZZZZZZZZZ
Sorry, I'm out of ideas
its 4.6.1 just so you know
Ah, oof, tmat means I'll ne even less helpful lol
you want the csproj
Won't hurt
i know its xml based
So, uh, at a glance... you're using an ancient version of .NET Framework with the most recent version of C#, and you're loading
System.Resources.Extensions
version for .NET 7
Either of those things could've caused your build to blow upafter changing it the same error
do you what the logs
After changing what, exactly?
Version="7.0.0" to Version="4.6.1"
There's no such version of this package
https://www.nuget.org/packages/System.Resources.Extensions/#versions-body-tab
As a side note... why are you making, what I assume is a greenfield project, with such an old version of — already old — .NET Framework?
decompiling with owners permission
Ah, well, decompiled code does have the right to break in unprecedented ways lmao
i doubt that there a small creator
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.It's far from resolved
What is the status of this issue?
Unsolved
what is unsolved?
Tbh what do you think
no idea, that's why I'm asking
what is the issue that you're trying to solve?
C:\Program Files\dotnet\sdk\8.0.100-rc.2.23502.2\Microsoft.Common.CurrentVersion.targets(3343,5): error MSB3822: Non-string res
ources require the System.Resources.Extensions assembly at runtime, but it was not found in this project's references.
seems kinda solved to me
the answer given earlier was, essentially, "don't do that"
I just need to build something
whatever you're doing that you're trying to pull in a package that was never built for 4.6.1, you probably simply can't do it
I have version 8
but the project you're trying to build is 4.6.1
Could I just change it from net461 to net700
you could try
it's almost certainly not going to involve "just" doing that
it's probably going to introduce other errors that you'll have to resolve by re-writing bits of code that no longer exist in .NET 7
Isn't there alternatives for those lines
yes, that's what you'll need to figure out and re-write
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.My computer slow af
sweet
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.