Open orchardbot opened 12 years ago
AimOrchard created: https://orchard.codeplex.com/workitem/18571
As stated in http://orchard.codeplex.com/discussions/349412 I don't think there currently is a way to have 1 module supporting multiple orchard versions.
A somehow 'quickfix' would be to set some preprocessor identifiers that you can check on to enable / disable certain bits of code.
For example for the v1.4 release you would define ORCHARD_1, ORCHARD_1_4, ORCHARD 1_4_0 and ORCHARD 1_4_0_0 or something.
Just an idea ;)
@sebastienros commented:
It has been implemented by the past but it breaks Medium trust. we'll reintroduce it when we drop medium trust.
AimOrchard created: https://orchard.codeplex.com/workitem/18571
As stated in http://orchard.codeplex.com/discussions/349412 I don't think there currently is a way to have 1 module supporting multiple orchard versions.
A somehow 'quickfix' would be to set some preprocessor identifiers that you can check on to enable / disable certain bits of code.
For example for the v1.4 release you would define ORCHARD_1, ORCHARD_1_4, ORCHARD 1_4_0 and ORCHARD 1_4_0_0 or something.
Just an idea ;)