Jan 8, 2012 at 10:43 PM
Edited Jan 8, 2012 at 10:46 PM
Thanks for the response. After I submitted the above code, I had a second thought on those issues either. So I tidied up a little and foked the repo.
Earlier today, I managed to send a pull request. Here is the code I ended up with:
Fork: RazorGenerator, Change Set ecc14b5864d0
I thought that would be too aggressive to change the behavior of the Enable-RazorGenerator
function so I added a switch which can be supplied. So the below function sets the file BuildAction property to None as well as the default functionality:
Enable-RazorGenerator -isBuildActionNone $true
I am not sure if the code has a place on prod but that would be nice to have that functionality.
I would be happy if you can update the package with a functionality something like this.
Thanks for this awesome project!