91754b4e60 VS: When not referencing output assembly do not try to copy it either Acked-by: Kitware Robot <[email protected]> Merge-request: !2037
@@ -3809,6 +3809,7 @@ void cmVisualStudio10TargetGenerator::WriteProjectReferences(Elem& e0)
}
if (referenceNotManaged) {
e2.Element("ReferenceOutputAssembly", "false");
+ e2.Element("CopyToOutputDirectory", "Never");
e2.EndElement();