You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the new release 4.0.105.48049 in a MonoAndroid project MSBuild complains that the class named "Resource" is defined in both Caliburn.Micro.Core and Caliburn.Micro.Platform. It gives compiler error CS0433.
If inspecting the assemblies with Jet Brains dotPeek tool it does indeed show the class in both assemblies.
The problem is that both classes are in the same namespace so the compiler does not know which one to use.
The Resource class is an auto generated class so I am assuming that some build task generated it for both Caliburn.Micro.Core and Caliburn.Micro.Platform when they where compiled for the MonoAndroid target.
I could resolve the problem by referencing the net standard version of Caliburn.Micro.Core.
Thanks for this, I've seen a similar bug in the Features examples project in this repo but haven't found a solution for it. Any help here would be appreciated.
When using the new release 4.0.105.48049 in a MonoAndroid project MSBuild complains that the class named "Resource" is defined in both Caliburn.Micro.Core and Caliburn.Micro.Platform. It gives compiler error CS0433.
If inspecting the assemblies with Jet Brains dotPeek tool it does indeed show the class in both assemblies.
The problem is that both classes are in the same namespace so the compiler does not know which one to use.
The Resource class is an auto generated class so I am assuming that some build task generated it for both Caliburn.Micro.Core and Caliburn.Micro.Platform when they where compiled for the MonoAndroid target.
I could resolve the problem by referencing the net standard version of Caliburn.Micro.Core.
I have made a small project that has the error in it: https://github.com/KasperSK/CaliburnTest
The text was updated successfully, but these errors were encountered: