Using Nuget in development environment - best practices / how to

前端 未结 2 1310
夕颜
夕颜 2021-02-05 09:08

Trying to figure out the best way to use Nuget in a development environment to manage our own libraries.

We want to standardize on Nuget way of doing things for our 3rd

2条回答
  •  礼貌的吻别
    2021-02-05 09:18

    I'd suggest you use separate network shares or feeds (similar to what myget.org supports in the cloud) for different scenarios. You could imagine creating a CI share, a QA share, a Releases share, ...

    Make people working on the referenced library do CI builds that drop CI packages on the CI repository for instance, and have them picked up by other projects (who just need to do a simple update, could be automated through PowerShell in pre-build: check for new version, if so, update).

    Just make sure that when products release their milestones, they also release with released dependencies (could be as simple as switching feeds, releases will always have a higher version number than CI builds).

    Hope that helps! Cheers, Xavier

提交回复
热议问题