Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2015, can't change access modifier of new resources files

I'm trying to create new resources files in VS2015. I created them fine, but when I try to change the "Access Modifier", the dropdown is disabled...

Any ideas?

I'm working in a ASP.NET MVC 6 (ASP.NET5). The project is a Class Library, but I have tested in Web Project with same results.

Thanks!!

enter image description here

Edit: Added Properties window enter image description here

like image 684
chemitaxis Avatar asked Dec 16 '15 14:12

chemitaxis


1 Answers

Can you check the property of your file and verify if Custom Tool is ResXFileCodeGenerator ? If it's GlobalResourceProxyGenerator, the dropdown will be disabled.

like image 126
arya404 Avatar answered Sep 17 '22 14:09

arya404