从ResXRersourcewriter生成的资源文件中创建designer.cs文件 [英] Create designer.cs file from ResXRersourcewriter generated resource file
问题描述
我有一个生成.resx
资源文件的程序.这些资源文件用在其他项目中,这些解决方案与生成资源文件的项目不在同一个解决方案中.
I got a programm that generates .resx
resource files. Those resource files are used in other projects, that isnt in the same solution as the project that generates the resource files.
我现在想知道,是否有可能从资源文件中生成designer.cs
文件,以便您无需使用resxresourcereader即可直接访问资源.
I wonder now, if its possible to generate a designer.cs
file from the resource file, so that you can access the resources directly without using the resxresourcereader.
推荐答案
打开resx文件,其工具栏上有一个Access Modifier
菜单.将此设置为Public
.这将生成一个*.Designer.cs
文件.
Open the resx file and on its toolbar there's an Access Modifier
menu. Set this to Public
. This will generate a *.Designer.cs
file.
这篇关于从ResXRersourcewriter生成的资源文件中创建designer.cs文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!