How do I create a nuget package that installs a config file only once?
Basically, I'm adding a log4net config file (+2 transform files for Debug + Release builds) via a nuget package to my project.
I want the file to be added on the first install and after that - it should never be updated, since it might have been customized by the developer.
This question: Is there a way to tell nuGet to install a file, into a project, only if the file is not already in the project? seems like a decent answer - but I can't see where the $filesToMove variable comes from....
Btw. I only need this to work in VS2015 for now - so I'm fine with using install scripts. (yeah, short-sighted - I know :-)
I do need to support the fact that this package can be used in multiple projects in the same solution. In this case it must install the file the first time it is installed in EACH project and not just for the first project...