- Home /
Is Unity 2018.1.5f1 compatible with .NET Standard?
I have a custom dll which I've dragged in to the Assets folder of my Unity project which targets .NET Standard v2.0.3. When I attempt to build in unity I get a number of missing reference errors (see one below). System.Net.Http is in the MonoBleedingEdge folder and if I attach a VS debugger to Unity and click the Play button in Unity, the code runs and I am able to make a network request to my web API.
Can someone please assist how to get unity to grab the correct dll during the build process? Note, The .csproj files in my project folder all appear to reference the correct path. Thank you!
error CS0012: The type 'HttpClient' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.
Your answer
Follow this Question
Related Questions
Unassigned Reference Exception - Even though it is assigned C# 1 Answer
Unity 5 UNet Spawn as Child. 1 Answer
Distribute terrain in zones 3 Answers