Hi,
I am trying to import a Nuget (NuGet Gallery | Microsoft.CodeAnalysis.CSharp.Scripting 3.6.0-4.final) into a project, using VS nuget manager.
At first it seems to works fine, the namespace is recognized (Microsoft.CodeAnalysis), and I can access the library methods (specifically the Csharp.EvaluateAsync()). However, as soon that Unity compile or VSbuilt the project, the package is not recognized anymore and seems to hve disappeared from the references in VS.
These methods are not essentials to my project but I d like to understand what I am missing. (project settings are set on mono and standart 2.0).
Whatever you do, don’t even consider NuGet with Unity:
What an absolute disaster. The confusion and technical debt and extra work it imposed on our various teams trying to stick with NuGet definitely contributed to the ultimate failure and abandonment of several in-development titles.