There is an inconsistency in the configuration value verbiage between Solution Explorer in VS.NET and the projected value within the .csproj
file. In Solu
I think there is no such place where you can find the mapping like this. However, Automation and Extensibility Reference can clear some things up.
For example, you can see that FileProperties2 interface has CopyToOutputDirectory property and that the property accepts __COPYTOOUTPUTSTATE enumeration values:
Here you can see that PreserveNewest
is the only option that fits the Copy if newer
UI value.
My point is: if you have doubts about possible options you always can check it in the automation reference, however, I personally use it only writing NuGet powershell scripts that modifies msbuild files in code. The simplest way is set the value in UI and see that we've got in msbuild file after that.