Repository navigation
Feature/supportmultipleplatforms - #890
gentledepp wants to merge 2 commits into
Conversation
|
This has been tried a few times before: #401 #638 #641 #703, and perhaps more exist. It's historically very tricky to get this write because the same source code has to compile with no project file at all inside Unity. So for example you define a new My hope with #703 was to get tests working on UWP to prove that it works, but without causing problems for unity. @neuecc do you have any other thoughts? |
|
Well.. we are mainly focused on UWP our issues with the .net native toolchain. But I do understand your point - we have absolutely no experience with and usage for Unity |
|
While I think it's most elegant to not have to add TargetFramework (what's the Microsoft NET_STANDARD for?) I'm not really interested in UWP or Xamarin, so I don't know what's better after all. |
|
@neuecc How can we (PR author first 😄) verify that none of the unity scenarios break? Our PR validation doesn't test all the unity scenarios. Is there a doc somewhere perhaps that walks us through manual validation? |
|
It's much better than making no progress, so let's move forward with this PR idea. There are a couple of points I'd like to discuss. In the direction of define, I want to make the state that nothing is given is Generate(Normal) and the state that something is given is AOT.
For example, because only GENERATE_DYNAMIC_CODE has a different orientation. Another thing is that many code paths seem to be equal to ENABLE_IL2CPP. Unity and IL2CPP, now test code run on my RuntimeUnitTestToolkit so can easy to run on CI. |
|
Well, we did introduce the What is I am just wondering why I never stumbled over this |
|
This pull request is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
|
#996, what do you think of the results? |
|
Yes I guess this could do the trick! Hopefully ;-) |
Added real support for iOS and UWP by
GENERATE_DYNAMIC_CODEwhich is disabled for UAP and iOSBasically, UWP and iOS should work with the default Messagepack implementation.
For example, on UWP, the
.net native toolchaincombined withoptimize codecould remove the dynamic code.Sometimes it does, sometimes it does not. This leads to compiling an UWP release build for nearliy 1 hour just to get a runtime error that "dynamic code is not allowed".
This is very, very tedius!