简体   繁体   中英

Namespace or type 'Twilio' could not be found

I'm trying to use the Twilio API in my unity project but when I try to build in unity I get the error: namespace or type 'Twilio' could not be found (are you missing using directive or reference?) Now I've loaded the twilio package (v 5.27.2) through Visual studio and it works fine there its just Unity that can't seem to find it. Can someone explain to me whats going on and how to fix this? I've provided some screenshots showing the error, code ,and Unity configuration settings

Your application code is compiled by Unity itself, not by Visual Studio. You need to make Unity aware of any external DLL libraries. To make Unity aware of an external DLL, just place it inside of the Assets directory in your Unity Project.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM