summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudio10TargetGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-05-11 13:20:32 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-05-11 13:20:49 (GMT)
commit1dda570edc5bbb004d8561d796cdd489af741234 (patch)
treed6296c79ce98fb0bba021e68656571d5c487e5a4 /Source/cmVisualStudio10TargetGenerator.cxx
parent9912d2655a7c7e1f77d8341c6640801b5e2bbe0c (diff)
parent91754b4e6026974e6264329ec1fad478ced3cc6f (diff)
downloadCMake-1dda570edc5bbb004d8561d796cdd489af741234.zip
CMake-1dda570edc5bbb004d8561d796cdd489af741234.tar.gz
CMake-1dda570edc5bbb004d8561d796cdd489af741234.tar.bz2
Merge topic 'vs-fix-csharp-recompile'
91754b4e60 VS: When not referencing output assembly do not try to copy it either Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2037
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r--Source/cmVisualStudio10TargetGenerator.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx
index cfdf2d8..494e574 100644
--- a/Source/cmVisualStudio10TargetGenerator.cxx
+++ b/Source/cmVisualStudio10TargetGenerator.cxx
@@ -3809,6 +3809,7 @@ void cmVisualStudio10TargetGenerator::WriteProjectReferences(Elem& e0)
}
if (referenceNotManaged) {
e2.Element("ReferenceOutputAssembly", "false");
+ e2.Element("CopyToOutputDirectory", "Never");
}
}
e2.EndElement();