C
C#2y ago
nut

❔ entry point in dll instead of application

hi, how can i put an entry point that runs from a linked dll instead of the application? id like for my game engine to have an entry point within it, and all the user side has to do is inherit a class
4 Replies
nut
nutOP2y ago
so if i have
public class Game : Application
public class Game : Application
where application is from the engine i have to do
public static void Main()
{
new Game("Sandbox").Run();
}
public static void Main()
{
new Game("Sandbox").Run();
}
id like to not have to call main
Aaron
Aaron2y ago
you can't, not without just making your engine the executable
reflectronic
reflectronic2y ago
you could have your game engine library generate an entrypoint into the client application i suppose
Accord
Accord17mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server