VS10Generator: VS_DOTNET_REFERENCE target property does not always transfer entire filename to the Reference name
set_property(TARGET MyCSharpExe PROPERTY VS_DOTNET_REFERENCE My.Special.Library.dll)
will show up under 'References' in the generated VS10 project with the name 'My' instead of 'My.Special.Library'.
This is because the generator uses cmsys::SystemTools::GetFilenameWithoutExtension
instead of cmsys::SystemTools::GetFilenameWithoutLastExtension
to determine the name of the reference, so stops at the 1st '.' instead of the last one. So references with '.' chars in the name (other then before the filename extension) are handled incorrectly.
Particularly bad in cases like:
set_property(TARGET MyCSharpExe PROPERTY VS_DOTNET_REFERENCE "My.Special.Library.dll;My.Other.Library.dll" )
Now only one shows up on the VS GUI, as they are both named 'My'.