![]() In additiona, JetBrains also has a blog post that goes into more detail about the NuGet Installer build runner. I particularly like this one, on setting up a UI test build agent with TeamCity. Jake Ginnivan has a ton of great posts on TeamCity and continuous delivery.Rob Moore and Matt Davies have a great series of posts on creating a deployment pipeline with TeamCity.Mehdi Khalili has a definitive post on doing continuous integration and delivery for GitHub with TeamCity.I can recommend some great resources on using TeamCity for continuous integration/delivery from my fellow TestStackers: Once you have selected the NuGet.exe you just have to provide the path to your Visual Studio solution file, which you can do with the useful file tree (pictured): Select Fetch NuGet and you are able to select a NuGet.exe version to be downloaded for use by TeamCity. Just select the NuGet Settings option and you are presented with the option to download the latest version. The first time you create this installer, there might not be a NuGet.exe to choose. To enable NuGet Package Restore with TeamCity you need to add a build step before the Visual Studio solution build with a runner type of NuGet Installer. Instead, you have to explicitly create a separate step to run before the Visual Studio build step. A TeamCity build agent contains two processes: Agent launcher a Java process that launches the agent process. It is installed and configured separately from the TeamCity server. This works really well in Visual Studio, but when you select the Visual Studio build runner in TeamCity it does not go ahead and restore all the NuGet packages for you in the same way, so you get a compilation error. A TeamCity build agent is a piece of software which listens for the commands from the TeamCity server and starts the actual build processes. Nowadays, it is recommended that you don't use this approach, but instead just set the option in Visual Studio to Allow NuGet to download missing packages. NuGet package restore used to be MSBuild-based and you would enable it by selecting Enable NuGet Package Restore in Visual Studio. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |