| Author |
Message |
dcameron
Joined: 30 Nov 2012 Posts: 2
|
Posted: Fri Nov 30, 2012 9:18 pm Post subject: How do I eliminate NuGet package dependencies? |
|
|
| How do you eliminate the dependencies? Whenever I use the NuGet Pack step in TeamCity 7.x, it doesn't put the dependency binaries in my bin folder. It just creates a nupkg file with references to other nupkg dependencies. |
|
| Back to top |
|
 |
Mike Upton
Joined: 11 May 2011 Posts: 50 Location: Red Gate
|
Posted: Tue Dec 04, 2012 5:59 pm Post subject: |
|
|
Have you tried creating a Nuspec file (documentation here) to define the package contents rather than running the NuGet Pack step against a project file? You can specify the dependencies manually when you use a Nuspec file, and given that Deployment Manager doesn't support package dependencies, you'll want to leave the dependencies section empty.
Hope that helps. Let me know if you have any problems getting it to work.
Kind Regards,
Mike _________________ Mike Upton
Software Engineer
Red Gate Software Ltd.
|
|
| Back to top |
|
 |
dcameron
Joined: 30 Nov 2012 Posts: 2
|
Posted: Tue Dec 04, 2012 6:02 pm Post subject: |
|
|
| Do I need to list every file in my nuspec file? Would that mean that every time we add a dependency, we need to edit the nuspec file? |
|
| Back to top |
|
 |
Mike Upton
Joined: 11 May 2011 Posts: 50 Location: Red Gate
|
|
| Back to top |
|
 |
swinghouse
Joined: 12 Sep 2011 Posts: 86
|
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group