Closed
Description
I would like to integrate PostSharp with DNX. PostSharp needs to post-process the output of the Roslyn compiler.
I'm trying to override the default project compiler by adding this to project.json
:
"compiler" : {
"name" : "C#-PostSharp",
"compilerAssembly" : "PostSharp.Dnx",
"compilerType" : "PostSharp.Dnx.PostSharpProjectCompiler"
}
where PostSharp.Dnx is a NuGet package.
The problem is that the PostSharp.Dnx assembly cannot be found. The LoadContext into which the assembly is loaded is empty, so only the dnx\bin
directory is being scanned.
How can I use a custom compiler shipped in a NuGet package?
Thank you.
Metadata
Metadata
Assignees
Labels
No labels