www.un.org/Depts/DGACM/index_spanish.htm 见Microsoft.Common.targets。
这个问题的答案载于您目标框架版本的<代码>Microsoft.Common.targets。
关于4.0版(和4.5 !)大会SearchPaths-element的定义类似:
<!--
The SearchPaths property is set to find assemblies in the following order:
(1) Files from current project - indicated by {CandidateAssemblyFiles}
(2) $(ReferencePath) - the reference path property, which comes from the .USER file.
(3) The hintpath from the referenced item itself, indicated by {HintPathFromItem}.
(4) The directory of MSBuild s "target" runtime from GetFrameworkPath.
The "target" runtime folder is the folder of the runtime that MSBuild is a part of.
(5) Registered assembly folders, indicated by {Registry:*,*,*}
(6) Legacy registered assembly folders, indicated by {AssemblyFolders}
(7) Resolve to the GAC.
(8) Treat the reference s Include as if it were a real file name.
(9) Look in the application s output folder (like bindebug)
-->
<AssemblySearchPaths Condition=" $(AssemblySearchPaths) == ">
{CandidateAssemblyFiles};
$(ReferencePath);
{HintPathFromItem};
{TargetFrameworkDirectory};
{Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)};
{AssemblyFolders};
{GAC};
{RawFileName};
$(OutDir)
</AssemblySearchPaths>
对“网络框架3.5”的定义相同,但该评论是错误的。 2.0项定义略有不同,使用(OutputPath)而不是(OutDir)美元。
在我的机器上,我有以下版本的微软文档。 共同目标:
C:WindowsMicrosoft.NETFrameworkv2.0.50727Microsoft.Common.targets
C:WindowsMicrosoft.NETFrameworkv3.5Microsoft.Common.targets
C:WindowsMicrosoft.NETFrameworkv4.0.30319Microsoft.Common.targets
C:WindowsMicrosoft.NETFramework64v2.0.50727Microsoft.Common.targets
C:WindowsMicrosoft.NETFramework64v3.5Microsoft.Common.targets
C:WindowsMicrosoft.NETFramework64v4.0.30319Microsoft.Common.targets
这是2008年、2010年和2013年视像室安装在视窗7上。
产出目录被检索的事实可能是一种微薄的疏漏(如原来的海报所示),因为它可能掩盖不正确的健康。 解决办法建立在你的当地机器之上,但当你在干净的双倍结构(例如建筑机器)的基础上发展时,便会中断。