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 faced this issue for running Migration command.Update-Database
in Package Manager console.
Accepted answer didn't solve my problem.
I had to change Build Action from Compile
to Embedded Resource
and It worked for me.
You can do the same using below steps: