xamarin/urho

new project not running?

Opened this issue · 2 comments

Created a new solution using Jetbrains Rider.
Added a new .net core 2.2 project "Core" to the solution.
Added a new .net core 2.2 project "Desktop" to the solution.

Created an empty MyApplication class extending Application in the Core project.
To make Application available i added the UrhoSharp package to the Core project.

Question:
Why does the base engine come along with a .dll and .dynlib? Shouldnt that be in some kind of UrhoSharp.Desktop project? And if not, why there is no .so variant?
Anyway, i clicked "run" on windows and on linux:

Windows: .dll not found. However it copied 4 folders including the dll in the folder. The application seems to be unable to detect that and load the one it requires. The dll is only loaded after manualy copying one of them out of the folder into its parent bin folder.
Next step: DataCore cannot be found. The file however is present in the bin folder.

Linux: obviously the .so is not found, so i had to compile UrhoSharp by myself and copy the .so. Afterwards its stuck at the same point where windows is stuck: CoreData not found.

While this project defenitely looks awesome, i was totaly surprised that a simple "hello world" or a "getting a black window to open" seems to be such problematic. Help would be appreciated!

I somewhat expected a nuget engine package where the code is build against, and an implementation package per platform (Desktop, Android, ...) and stuff running out of the box? Or am i missing something here? Also by reading the sources and the git history, i thought .net core is supported by now. But somehow there is no example project using it?

This is the bare minimum project i was trying to get to run:
Xperiment.zip

You have to specify the path for your assets/data, in the initialization of the view for the Application.

Start with working samples. It's at times challenging to set up a new fresh project without some background skills of using the samples.