-
Hello, I am having this issue when attempting to use I have placed the I have tried setting the Build Action of |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
There's a StackOverflow question that seems to describe a similar issue, NuGet packages in Unity. The first two answers, using NuGet for Unity and directly importing the .dll into a If you're investigating other ways of building the project, only the .resx files should have their build action set to "EmbeddedResource". This build action embeds the resource files into Stateless.dll, so if you can find a way to import Stateless.dll into your Unity project then it should work. Please let us know how it goes. I'm curious to find out if there's anything that would improve compatibility with Unity. |
Beta Was this translation helpful? Give feedback.
Thank you so much for your response. I managed to get it working today with this NuGet Unity package manager. I was off-track in trying to incorporate the raw source files into my project, the
.dll
was the way to go.On the off-chance anyone in the future needs to do what I am doing and add the NuGet package to a preexisting Assembly, in addition to importing the package thru the NuGet manager, I also had to manually include the
.dll
in theprecompiledReferences
of my the Assembly's.asmdef
file, like so:Cheers.