资源文件禁用了Visual Studio的Access Modifier下拉选项 [英] Visual Studio's Access Modifier drop down option is disabled for resource file

查看:162
本文介绍了资源文件禁用了Visual Studio的Access Modifier下拉选项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

不确定为什么资源文件的访问修饰符下拉列表被禁用。

Not sure why Access Modifier drop down is disabled for a Resource file.

替代文本http://img683.imageshack.us /img683/9157/accessmodifier.png

以下是文件属性:

替代文字http://img199.imageshack.us/img199/3930/resxprop.png

推荐答案

如有可能,将自定义工具更改回默认的 ResXFileCodeGenerator。

If possible, change your Custom Tool back to the default "ResXFileCodeGenerator".

I尝试将默认的Web应用程序项目更改为使用 GlobalResourceProxyGenerator,这导致访问修饰符下拉列表被禁用。

I tried changing a default web app project to use "GlobalResourceProxyGenerator" and it caused the Access Modifier drop down to disable.

这篇关于资源文件禁用了Visual Studio的Access Modifier下拉选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆