$ 0 0 Related: Internal compiler error when UseDotNetNativeToolchain is true ... the answer there suggests disabling optimizations for some assemblies.