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

MissingManifestResourceException when TriggerWithParameter define #325

Open
komponentwojtek opened this issue Jul 22, 2019 · 1 comment
Open

Comments

@komponentwojtek
Copy link

komponentwojtek commented Jul 22, 2019

Hello,

I installed Stateless for Net ( 3.5 ) to use it Unity3d through NuGet for Unity. In that version when defined new TriggerWithParamater it works fine. But I needed method .PermitIf with arg which that version doesn't have. So uninstalled it and just copy-paste src files from github. BUT in that version when I want to define new TriggerWithParameter I get this

MissingManifestResourceException: Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "Stateless.ParameterConversionResources.resources" was correctly embedded or linked into assembly "Assembly-CSharp" at compile time, or that all the satellite assemblies required are loadable and fully signed.

Can anyone explain me step by step how to manage with this?

@aleneum
Copy link

aleneum commented Jan 24, 2020

I did not manage to get the source working with resx files as well but there is a quite convenient way to use Stateless in Unity 2019:

  • clone the repository
  • checkout branch dev if not already selected
  • build Stateless with Visual Studio
  • Copy the content of <repo>/src/Stateless/bin/<Debug|Release>/netstandard2.0 to your asset folder (e.g. Assets/Stateless/lib)
  • Profit! Now you can use Stateless without worrying about how to build it in Unity.

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