Private
태그는 Visual Studio를 참조 폴더에서 "로컬 복사"체크 박스에 사용자 재정을 유지합니다. 참조가 GAC에서 사용되는지 또는 참조 된 어셈블리를 빌드 디렉터리로 복사할지 여부를 제어합니다.
이 효과에 대한 MSDN 문서를 찾을 수는 없지만 (놀라움), 동작과 적용되는 주석에서Microsoft.Common.CurrentVersion.targets:1742
분명합니다 .
이것은 MSDN> Common MSBuild project items에 문서화되어 있으며 적용되는 동작 및 주석에서Microsoft.Common.CurrentVersion.targets:1742
분명합니다 .
<!--
============================================================
ResolveAssemblyReferences
Given the list of assemblies, find the closure of all assemblies that they depend on. These are
what we need to copy to the output directory.
[IN]
@(Reference) - List of assembly references as fusion names.
@(_ResolvedProjectReferencePaths) - List of project references produced by projects that this project depends on.
The 'Private' attribute on the reference corresponds to the Copy Local flag in IDE.
The 'Private' flag can have three possible values:
- 'True' means the reference should be Copied Local
- 'False' means the reference should not be Copied Local
- [Missing] means this task will decide whether to treat this reference as CopyLocal or not.
[OUT]
@(ReferencePath) - Paths to resolved primary files.
@(ReferenceDependencyPaths) - Paths to resolved dependency files.
@(_ReferenceRelatedPaths) - Paths to .xmls and .pdbs.
@(ReferenceSatellitePaths) - Paths to satellites.
@(_ReferenceSerializationAssemblyPaths) - Paths to XML serialization assemblies created by sgen.
@(_ReferenceScatterPaths) - Paths to scatter files.
@(ReferenceCopyLocalPaths) - Paths to files that should be copied to the local directory.
============================================================
-->