Hi, I am trying to create unit tests for my project however when I create an assembly definition file in my scripts folder (so that I can access them in my test scripts) I get 74 occurrences of the following error where 'TMPro something different for each one:
’ error CS0246: The type or namespace name ‘TMPro’ could not be found (are you missing a using directive or an assembly reference?)
Even if I don’t try and link it i.e. if I just put an assembly definition in my Scripts folder (all the scripts within this folder are my own) then I get the error mentioned
Way to not read or understand my response at all, nor read the docs.
Your error is saying you code uses TMPro, but your assembly doesn’t have a reference to the TMPro assembly. Go to your new assembly, and add the TMPro assembly to its list of references.