Question

I have a task and I want to generate some code using the CodeDom. How can I get either the current "language" or the CodeDomProvider for the current project calling my task?

Was it helpful?

Solution

Ok I managed to figure it out eventually:

Geting a CodeDomProvider in an MSBuild Task

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top