There is an inconsistency in the configuration value verbiage between Solution Explorer in VS.NET and the projected value within the .csproj
file. In Solution Explorer
a .config
or dependency file will have multiple options in the Copy To Output Directory
property that affect its build and deploy characteristics.
In the Copy To Output Directory
dropdown I have selected the option for a .config file: Copy if newer
. However in the .csproj
file it is set as PreserveNewest
as seen below:
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
I suppose the conclusion can be made that since it is (2) different places the terminology being different makes sense. I also could see where the 'spaces' would not be allowed in the XML
file, but then I still might expect to see something like the following.
<CopyToOutputDirectory>CopyIfNewer</CopyToOutputDirectory>
Is there somewhere that this is defined in the MSDN and how these 'friendly names' map to their physical configured value within the .csproj
file?