Thursday, June 16, 2016

Resolving NuGet Assembly Reference errors in Jetbrains TeamCity

If you have ever encountered an error similar to the one below in Jetbrains TeamCity, then you have a problem with NuGet Assembly References:


Thankfully, this is easily resolved using the NuGet Restore feature available as a Build Step within TeamCity.  You simply add a new Build Step using the NuGet Installer Build Runner:



Next, when you order the Build Steps, you just need to make sure that you run the NuGet Restore Build Step prior to building your actual Visual Studio solution as follows:


It is easy as that to resolve your NuGet Assembly Reference errors in TeamCity!  

No comments:

Post a Comment