I need to copy standard component DLLs into a standard folder defined in every VS2012 project when the project is opened. We're not allowed to store DLLs in Subversion so I need to reload this folder every time a developer opens the project/solution. I'm looking for an automation solution that will pull DLLs from a centralized location and copy them into the developer's solution. I looked at Visual Studio Extensions but it seems like an awful lot of work just to copy a couple of files. Are there any other hooks in VS2012 (and hopefully VS2010) where I can code simple PowerShell scripts to copy these files?
2 Answers
Why you just do no use Nuget? Adding nuget reference and enable nuget restore on build will do exactly what you need. You can create nuget repository as shared folder.
2 Comments
Richard Schaefer
The Nuget process is essentially a .Net-specific process. I was charged with building a .Net Build, Test and Deploy job in AntHillPro (which is really a Java ALM tool). My job has to resolve external references from an AntHillPro repository and store the generated code in the AntHillPro repository. Kind of defeats the purpose of Nuget...
Piotr Stapp
did you look at: stackoverflow.com/questions/119271/…