Well, I use visual studio 2015 CE, update 2. One productivity hack I usually do is that I create empty model classes like:
public class PersonModel
{
}
You can do that by typing prop
and press the TAB
twice. It will require you to enter type and name for property though, won't extract it from existing one.
Best regards.
So my question is: is there any option to ask VS to create public setter, i.e.:
No, there is no way to modify the shortcut to automatically add the property with a public set. Although your productivity hack is neat, your best bet is to create it yourself.
Still the same in Visual Studio 2017 and I use the same "productivity hack".
I recently got Resharper and it does use the public setter as we would expect it.