robotdotnet / WPILib

DotNet implementation of WPILib for FIRST Robotics Competition (FRC)
27 stars 8 forks source link

Entire solution does not build on Linux #99

Closed ThadHouse closed 8 years ago

ThadHouse commented 8 years ago

System.Reflection.Context does not seem to exist in Mono, which cause the unit test building to fail.

jkoritzinsky commented 8 years ago

I'll work on making replacement for CustomReflectionContext (which is the class from that assembly)

jkoritzinsky commented 8 years ago

After looking at the code, I can't get access to enough of the internals of the reflection stuff to make a replacement. I can either remove the ReflectionContext code or we can make the tests that test it conditionally compile on Linux. It'll probably be better to just remove the code since CustomReflectionContext is really the only way to use it.

ThadHouse commented 8 years ago

Ah. Yeah if we can't use it on Mono on the robot there's no point in having it.