Quantcast
Channel: Questions in topic: "il2cpp"
Viewing all articles
Browse latest Browse all 598

Adding .NET STANDARD DLL to unity

$
0
0
I want to add a **Microsoft.ApplicationInsights.dll** library to my VR project I tried many things but it still doesn't work on Android and I have few questions about that. ---------- 1. Are **.NET Standard 2.0** libraries properly built by Unity and work on platforms other than Windows? If so, is it on Androda too? 2. How to **properly add dependencies to the DLL** library dropped into the **Plugins folder**. For example this **ApplicationInsights.dll** has reference to **System.Diagnostics.DiagnosticSource**, but this library has reference to **System.Runtime.CompilerServices.Unsafe.dll** and **System.Memory.dll**. Please explain how to add these libraries correctly. - Put all these DLLs in the **Plugins folder**? - Put the **Microsoft.ApplicationInsights.dll** into the **Plugins folder** and the dependencies in the csc.rsp file like this: ` -r:System.Runtime.CompilerServices.Unsafe.dll -r:System.Diagnostics.DiagnosticSource.dll -r:System.Memory.dll ` - If the second way and if I have chosen **API Compatibility Level: 4.x**, will the system DLLs be imported in the .NET Standard 2.0 version if the main library has been imported in the .NET Standard version and has dependencies to them? ---------- I tried to use this package https://github.com/Unity3dAzure/UnityApplicationInsights but the log information is missing (e.g. Stack Trace in Exception) and therefore I want to use a DLL from Microsoft.

Viewing all articles
Browse latest Browse all 598

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>