1
从TFS排除包NuGet documentation是做到以下几点为什么我们需要包括!包/ *。目标在.tfignore从源代码控制排除的NuGet软件包时
## Ignore the NuGet packages folder in the root of the repository
packages
#include package target files which may be required for msbuild
!packages/*.targets
有谁知道为什么我们需要包括.targets?
那么最好的做法是从任何nuget包中剪切/复制.targets文件,并将它们添加到每个使用它的项目中?这似乎更多的开销? –
这是nuget软件包可以使用安装脚本自行完成的事情。所以最好的是联系作者。 – jessehouwing