-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fail to compile on Mono due to System.Collections.Concurrent #25
Comments
I'll see if we can get a conditional flag there. Otherwise you can pretty safely remove that part of the code since you're not going to use it. The "generated" protocolparser.cs is always the same for any given version of this project, that is, not dependent on the proto specs you pass into the generator. Although i do believe mono has supported .NET 4/c#4.5 for some time now. I've compiled it on Linux using mono(that is also where i develop it). Let me know if that fixes it or if I should get on the conditional flag solution. |
Hi, I guess my need is an edge case, I'll understand if this not worth the effort. Thank you, |
Do you know if Unity by default add any flag that I could use to exclude the code? For example
|
Unity does add flags but I'm writing a plugin to Unity so it's not a Unity project by itself. |
I have same feature request for unity project. |
I hope this is OK. |
Sometimes it is hard to compile on mac and linux, it will be very useful if you can provide a release file like https://github.com/hultqvist/ProtoBuf/releases/download/2014-08-23/ProtoBuf-2014-08-23-bin.zip |
@guileen I'll do that tonight when I'm back at my Linux machine :) If possible I suggest using http://www.mono-project.com/download/#download-lin rather than what is supplied by the distro which can be quite old. |
@guileen done, precompiled release is now at |
Hi,
I manage to compile the source code of the ProtoBuf generator on Mono on Mac OS but after I build the message source code I get a compilation error due to this line:
using System.Collections.Concurrent
Is it possible to add switch to not use this feature because AFAIK .NET 4 is not available on Mono at this point.
The text was updated successfully, but these errors were encountered: