Closed ALEXR92 closed 4 years ago
Hi, @ALEXR92, have you tried using the Microsoft.Orleans.CodeGenerator.MSBuild
package? It has better support for .NET Standard 2.0 projects.
Apologies for the hassle - I hope to remove the Microsoft.Orleans.OrleansCodeGenerator.Build
package in the future and I would consider it deprecated for now.
Indeed, replacing Microsoft.Orleans.OrleansCodeGenerator.Build
with Microsoft.Orleans.CodeGenerator.MSBuild
now enables compilation to succeed.
Thank you @ReubenBond !
Hi, I am trying to migrate my solution to .net standard 2.0 (now under .net framework 4.7.2), but I am facing an issue when compiling on my grain interfaces project using Microsoft.Orleans.OrleansCodeGenerator.Build 3.0.2:
Looks like code generation fails on System.ServiceModel.Primitives assembly under .net standard 2.0 when it didn't under .net framework 4.7.2. Do you have any idea on how to fix this?
Thanks in advance
Rgds