I'm trying to configure TeamCity to work with NuGet. So far - no luck. I configured 4 build steps:
- Download NuGet packages
- Build
- Run unit-tests
- Check for code duplications.
However, when I trigger the build, I can't even get past first build step. I configured TC to download missing NuGet packages. When I run the build, TC says:
Failed to find repositories.config at {here_is_my_path}".
I understand that the problem is I use this VS feature called Enable NuGet package restore
- so, there is no such file as repositories.config
in my solution folder and that's why TC can't find it and build is failing. So, how am I supposed to configure TC then? Any ideas and help is appreciated.
I'm using .NET 4.0, VS2010 and TeamCity 7 if it helps.