Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Difference between Unity DLL and UWP DLL? #197

Closed
techtide opened this issue Aug 7, 2019 · 2 comments
Closed

Difference between Unity DLL and UWP DLL? #197

techtide opened this issue Aug 7, 2019 · 2 comments

Comments

@techtide
Copy link

techtide commented Aug 7, 2019

Problems developing for the HoloLens were apparently sorted out in milestone 0.16. Issue #6, "Error compiling for HoloLens", says that the Browseable attribute which supposedly resulted in problems for HoloLens deployment has been removed in the Unity DLL.

I am not clear on one thing: How are the Unity and UWP DLLs different? In issue #6, micjahn wrote, "Next version of ZXing.Net will included binaries for unity without the attribute", and also referenced the use of a newly made UWP DLL in Unity. Now there are both Unity and UWP DLLs, so what's the difference? Considering the said Unity DLL has now been stripped away of the Browseable attribute as said in that issue, does that mean the Unity DLL should now support HoloLens development? In either case, can the UWP DLL be used in Unity?

@micjahn
Copy link
Owner

micjahn commented Aug 9, 2019

The Unity version is built against the UnityEngine assembly and contains special BarcodeReader and BarcodeWriter classes which support the Color32 struct. UWP version is lacking the assembly reference and Color32 support. I don't have a Hololens environment, so I can't say anything to the last questions.

@techtide
Copy link
Author

Okay. Thank you micjahm, I will try using the Unity DLL and uploading it to the HoloLens to see if it works. I think that that in the end, Unity translates everything to UWP, but I am not 100% sure - I will update this thread accordingly.

@micjahn micjahn closed this as completed Dec 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants