How can I get the current CodeDomProvider in an MSBuild Task
-
23-08-2019 - |
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?
Solution
Ok I managed to figure it out eventually:
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow