I am using Microsoft.CodeDom.Providers.DotNetCompilerPlatform nuget packge for compilation of code at runtime. It is achievable but in my scenario my dynamic class needs to use Postsharp for aspect oriented programming.
Can anyone point me to the commandline support to add Postsharp dependency injection for the compiled assembly using the csc.exe, like what is done by the MSBuild or Visualstudio.
 
     
    