Closed proger closed 8 years ago
I've added a bunch of hacks (mostly removed random stuff I saw in error messages) to my forked branch: https://github.com/proger/orleans/commits/build-hacks
Build log: https://gist.github.com/37ec69822fcc97b6cad0
mono ./HelloWorldNuget/obj/HelloWorldNuget.exe |& gist -p
: https://gist.github.com/5dd2a8e2ec544a759538 (which probably means that stuff works now, I just now have to properly configure it)
A ton of errors I got after running HelloWorldNuget: https://gist.github.com/proger/0db51e7b08cff6746b4b
xbuild has a bunch of bugs that make compiling Orleans with it difficult. I fixed some of them in Mono master, so you should first try getting a recent build. With some changes in my fork I could get it to build, though it's not updated and some of those changes have since been applied by the team upstream. As MSBuild got open-sourced recently, it is expected that xbuild will be replaced in the future, so it may not matter for long.
This is great, thanks a lot! I'll try shortly.
Getting Orleans to work correctly with xbuild / mono is very much still a work in progress, as @akoeplinger mentions, but is definitely on the TODO list.
Considering the push for .NET Core compatibility, looks like we won't be spending any effort on Mono. Although we are open to fixes that would help with Mono compatibility.
Thanks for the update!
I assume the place to track this is #2145
Yes, that's the initial one.
After running
nuget restore
:Microsoft.Orleans.Templates.Interfaces.targets: error : Error executing task WriteLinesToFile: Error converting Property named 'Lines' with value '/d:$([MSBuild]::Escape($(DefineConstants)))' to type Microsoft.Build.Framework.ITaskItem[]: The requested feature is not implemented
Is there any way of using Orleans on non-Windows? Perhaps any hacks I can use to run codegen outside of
xbuild
? (I'm new to .NET and thought that Orleans would be a great gateway drug for me)