简体   繁体   中英

NuGet with TFS but without Package Restore

I'm trying to establish a private NuGet server for our team but I think I've found a show stopper.

If I have to download the solution from TFS the packages and its subdirectories are created but no actual files were downloaded. The result is that the dlls/assemblies are missing.

Is there a way to accomplish this without enabling package restore? I like to keep the corresponding dlls in the vcs.

TFS by default ignores dll's when adding a folder to the pending changes (and doesn't work to well with binaries in general). Don't forget to add the dll's explicitly to your source control.

This is exactly why I prefer restoring the packages directly from a nuget feed when working with TFS :)

Still no solution found. I think we really have to switch to the package restore feature.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM