开发者

prevent visual studio from reverting the Resource designer properties in to internal

I know the resource designer files are auto generated开发者_如何学C, we are achieving WPF localization through resource files at project level. And its possible only if we have the resource designer properties as public qualified. Now any time i add a new resx entry, all the properties get modified to "internal" scope! Is there any setting, attribute i can add to prevent this? any help is gr8! thanks!


Are you hand editing the text file? If not, there must be an "Access Modifier" drop down when you open the Resource through Resource Editor. I hope Visual Studio will preserve your selection, if you pick the "Public" value from that drop down.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜