I have two ASP.NET Web projects (ProjectA and ProjectB). When class in ProjectA is instantiating a class of ProjectB which uses a resource file Blah.resx, I get this error:
I resolved this by going to the project where my resources file was saved, scrolling down to its ItemGroup and adding a logical name that corresponded to the path the compiler expected.
My EmbeddedResource looked like this:
PublicResXFileCodeGenerator
TextResources.Designer.cs
Now it looks like this
PublicResXFileCodeGenerator
TextResources.Designer.cs
MyProject.Properties.Resources.resources