Iterating Through Website Class Methods Using MSBuild

I am trying to find information on using reflection in an MSBuild task.

I need a way to iterate through the methods of the class contained in the website at build time. Is it possible? Is MSBuild the best tool to use? Is this an unreasonable claim, I cannot find any documentation on this?

Any help would be much appreciated.

Rich

+1


a source to share


1 answer


With an extension called MSBuild Community Tasks . You can execute the code from the msbuild task named script. Using the reflection API, your task should be relatively simple.



Psake could be a viable alternative as PowerShell integrates well with .Net.

0


a source







All Articles