"Remove unnecessary usings" not working in Visual Studio 2015 -


i have solution few projects. remove unnecessary usings working in projects except one.

why remove unnecessary usings command not work in projects?

edit - can see in before image there no remove unnecessary usings command , if try right-click in file, organize usings > remove unnecessary usings nothing. after setting project build warning level 4 remove unnecessary usings command appears , works.

before:

before

after:

after

in build section of project properties there setting called errors , warnings should 4.

enter image description here


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -