powershell function

Mar 15, 2012 at 2:48 PM


I want to generate some files from another one already existing in my project.

I need to be able to do it many times in the same project (with different in files)

So I imagine to use nuget, to import a module in my nuget installation and to define a function in the module that takes the in file path as parameter.

Now I have a big issue: my files to add are in my nuget package (with .pp extension). To access them, I think that I need to use $toolsPath variable but in my function, it is null!

What is the best way to do what I want to?