xnyu_
xnyu_
CC#
Created by xnyu_ on 3/7/2023 in #help
❔ WFA problem with resolving embeded resource after solution refactoring
I have a wfa application an some images in PNG/ICO format I imported in the resource section. Now that I moved the directory of the solution, changed namespace names etc., it has troubles to resolve the resources in some way. when I open the form designer, it shows me the white page an says "co resource found for the culture of neutral culture"
at System.Resources.ManifestBasedResourceGroveler.HandleResourceStreamMissing(String fileName)
at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo culture, Dictionary`2 localResourceSets, Boolean tryParents, Boolean createIfNotExists, StackCrawlMark& stackMark)
at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo requestedCulture, Boolean createIfNotExists, Boolean tryParents, StackCrawlMark& stackMark)
at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
at System.Resources.ResourceManager.GetObject(String name, CultureInfo culture, Boolean wrapUnmanagedMemStream)
at xnyu_debug_studio.Properties.Resources.get_record_normal()
at System.Resources.ManifestBasedResourceGroveler.HandleResourceStreamMissing(String fileName)
at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo culture, Dictionary`2 localResourceSets, Boolean tryParents, Boolean createIfNotExists, StackCrawlMark& stackMark)
at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo requestedCulture, Boolean createIfNotExists, Boolean tryParents, StackCrawlMark& stackMark)
at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
at System.Resources.ResourceManager.GetObject(String name, CultureInfo culture, Boolean wrapUnmanagedMemStream)
at xnyu_debug_studio.Properties.Resources.get_record_normal()
I reimported the resources and checked the names, but I can't find any difference between my old back up project and the new one. Someone has any ideas what i can check? The error refers to the Resources.Designer.cs, but I can't spot something suspicious here aswell.
4 replies