Просмотр исходного кода

Merge topic 'vs-fix-csharp-recompile'

91754b4e60 VS: When not referencing output assembly do not try to copy it either

Acked-by: Kitware Robot <[email protected]>
Merge-request: !2037
Brad King 7 лет назад
Родитель
Сommit
1dda570edc
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      Source/cmVisualStudio10TargetGenerator.cxx

+ 1 - 0
Source/cmVisualStudio10TargetGenerator.cxx

@@ -3809,6 +3809,7 @@ void cmVisualStudio10TargetGenerator::WriteProjectReferences(Elem& e0)
       }
       if (referenceNotManaged) {
         e2.Element("ReferenceOutputAssembly", "false");
+        e2.Element("CopyToOutputDirectory", "Never");
       }
     }
     e2.EndElement();