Visual Studio's Access Modifier drop down opti

2019-02-07 21:54发布

2条回答
放我归山
2楼-- · 2019-02-07 22:29

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

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

查看更多
贼婆χ
3楼-- · 2019-02-07 22:42
  1. Right click on your file resource, choose Properties (Alt+Enter)
  2. Change Build Action to Embedded Resource
  3. Change Custom Tool to PublicResXFileCodeGenerator

Now it works.

查看更多
登录 后发表回答