Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
code generation fails with dotnet 2.1 rc1 #4585
This is a console app.
Orleans-CodeGen - Generating file C:\Games\aigame\Game\Server\obj\Debug\netcoreapp2.1\Server.orleans.g.cs
I was curious and willing to try and help a little so I took a quick look.
My understanding is that the CodeGeneration.Build heavily relies on reflection and has to load many assemblies to do its work. Thing is it's trying to load
So far the NuGet package has two plaforms exposed:
My bet is we would need a
I took a look at the
Creating a third platform is way beyond my MSBuid skills and I don't even know if it's possible to build side-by-side dll of .net core 2.0 and 2.1 in the same Visual Studio solution... Even building Orleans.CodeGeneration.Build in .net core 2.1 won't be straightforward, looks like the whole Orleans solution is capped for 2.0 max.
Quick, stupid workaround