I have a VB project which I'm trying to configure with three build configurations.
I've successfully created the build configurations, but I decided the names I was using weren't descriptive enough so I went to Configuration Manager
-> <Edit...>
-> Rename
and renamed them.
This renamed the configurations in the Configuration Manager.
I then went to do some conditional compilation testing using #If CONFIG =
but it failed.
Checking deeper, it turns out that the values returned by CONFIG
are the original names not the new names.
Checking My Project
-> Compile
-> Configuration
I can see that the names shown in that ComboBox are also the old names.
So, even though I have "renamed" my configurations in Configuration Manager, they're not being renamed on all levels.
I can get around this by recreating these configurations with their intended names but that's about as bass ackwards a solution as I can think of. Is there some method of renaming configurations that actually works or is this just the way MS intended this to... "work"?