Currently I have this structure. This is to allow me to subclass Application to make it run under a test runner (i.e. NUnit)
code simplified for clarity
public abstract class MyAppBase : Application {}
public partial class MyApp : MyAppBase {}
public class MyTestApp : My AppBase {}
However since this MyAppBase is an abstract class inheriting Application, it throws this warning during compilation.
CSC : warning WESC003: The code generated to create scenes can not be injected, a partial class implementing 'Evergine.Framework.Application' can not be found.
Would it be possible to allow any partial class that has Application in its inheritance chain have its code injected instead of requiring to be Application directly?
Currently I have this structure. This is to allow me to subclass
Application
to make it run under a test runner (i.e. NUnit)code simplified for clarity
However since this
MyAppBase
is an abstract class inheritingApplication
, it throws this warning during compilation.Would it be possible to allow any partial class that has
Application
in its inheritance chain have its code injected instead of requiring to beApplication
directly?