Msbuild'ing Unsafe Tasks - Pt. 2
Unsafe Inline MSBuild Tasks - Part 2 I wrote a post recently about a technique leveraging System.Reflection to pass CLI arguments into csc.exe when compiling MSBuild inline tasks. This isn’t my research, but uses a technique that seems to have been discovered(? idk) by the Social Engineering Toolkit (SET) guys.
The goal of this technique is to allow the unsafe keyword to be used when building C# inline msbuild tasks via XML.