I have an old project at work built in Visual Studio 2015 which I'm updating. There are eight text fields in the setup project. They all have names like FOOBAR
and QWERTY
which are available in ProjectInstaller.cs
. If I change the default value for FOOBAR
such as bazqux
(hard coded default) or [FOOBAR]
(passing from the arguments), that gets reflected in ProjectInstaller.cs
.
However, if I add a new field, that doesn't get reflected in ProjectInstaller.cs
. Also, renaming a field is not reflected.
This is how the setup project is set up:
How do I register a new field name or a name change to a field so I can use the new name in ProjectInstaller.cs
?