Could not find any resources appropriate for the specified culture or the neutral culture

后端 未结 30 1481
旧巷少年郎
旧巷少年郎 2020-11-28 20:15

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:

30条回答
  •  时光取名叫无心
    2020-11-28 21:18

    One approach would be to put the shared classes/resources in a separate class library project and refer them in both the web sites.

提交回复
热议问题