My global resource designer file is empty when I add culture to the file name

醉酒当歌 提交于 2020-01-03 17:09:34

问题


I am writing a asp.net web application with multi-language support. I want to add a resource to the App_GlobalResources file called "GlobalStrings". When I name the file GlobalStrings.resx, everything is fine. But when I add a file called GlobalStrings.en-US.resx the designer file behind it is empty (no text at all) an nothing appears in intellisense. Any ideas?


回答1:


The deal is that there must be one resource file (default) without culture added.



来源:https://stackoverflow.com/questions/1945199/my-global-resource-designer-file-is-empty-when-i-add-culture-to-the-file-name

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!