diff options
author | Wil Stark <wil_stark@keysight.com> | 2018-12-11 18:47:48 (GMT) |
---|---|---|
committer | Wil Stark <wil_stark@keysight.com> | 2018-12-11 18:47:48 (GMT) |
commit | ea3d60cffaa3761f258ff1bea4ba6f589cae7ad7 (patch) | |
tree | 58f547f10d732d6e77f8317ac2cf1e95473ec50b /Source/cmVisualStudio10TargetGenerator.cxx | |
parent | cb995ddea2d633310b270e99d020fe490fff5ec7 (diff) | |
download | CMake-ea3d60cffaa3761f258ff1bea4ba6f589cae7ad7.zip CMake-ea3d60cffaa3761f258ff1bea4ba6f589cae7ad7.tar.gz CMake-ea3d60cffaa3761f258ff1bea4ba6f589cae7ad7.tar.bz2 |
VisualStudio10TargetGenerator: support C# refs with '.' in file name.
Fixes: #18696
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r-- | Source/cmVisualStudio10TargetGenerator.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index 7d7defc..667e40b 100644 --- a/Source/cmVisualStudio10TargetGenerator.cxx +++ b/Source/cmVisualStudio10TargetGenerator.cxx @@ -723,7 +723,8 @@ void cmVisualStudio10TargetGenerator::WriteDotNetReferences(Elem& e0) // if the entry from VS_DOTNET_REFERENCES is an existing file, generate // a new hint-reference and name it from the filename if (cmsys::SystemTools::FileExists(ri, true)) { - std::string name = cmsys::SystemTools::GetFilenameWithoutExtension(ri); + std::string name = + cmsys::SystemTools::GetFilenameWithoutLastExtension(ri); std::string path = ri; ConvertToWindowsSlash(path); this->DotNetHintReferences[""].push_back( |