TFS中NuGet包文件夹的正确tfignore是什么?

问题描述 投票:0回答:1

我在TFS存储库中有一个共享的NuGet packages文件夹,我希望TFS忽略此文件夹中的额外文件。

这是我的tfignore文件的内容,但我认为我们过分忽略了一些事情:

# NuGet autogenerate files

*.nupkg
*.nuget.props
*.nuget.targets
project.lock.json
project.assets.json

# Unwanted files (everything except for DLL)

*.js
*.ps1
*.p7s
*.transform
*.css
*.eot
*.svg
*.ttf
*.woff
*.map
*.xml
*.xdt
*.pp
*.props
*.rsp
*.targets
*.config
*.ini
*.txt
*.rtf

例如,根据nukpg,似乎this answer应该存在于所有机器上

为此目的,最小和正确的tfignore内容是什么?

visual-studio tfs nuget nuget-package ignore
1个回答
0
投票

nukpg是包,您肯定需要忽略它们而不是将它们签入TFS(在构建期间运行nuget restore)。

微软qazxsw poi为NuGet推荐这款qazxsw poi:

here
© www.soinside.com 2019 - 2024. All rights reserved.