Quantcast
Channel: Questions in topic: "dll"
Viewing all articles
Browse latest Browse all 706

Building a Google external class library throwing errors when included into Unity project

$
0
0
I'm trying to include the [Google webfornts api][1] into my **.net 4.x** and **.net standard 2.0** project and reference it but I keep having problems, I've tried three different ways of getting this to work: 1. Built out a class library of a .net Nuget package with another solution and included it 2. Imported the the API directly into the Unity solution using NuGet 3. Tried importing using the [Unity Nuget pack asset][2] This is the class lib settings: ![alt text][3] But nothing's working, I get this error when trying to add my built library to the project: Assembly 'Assets/GoogleFont/libs/GoogleFontAPI.dll' will not be loaded due to errors:Unable to resolve reference 'Google.Apis.Webfonts.v1'. Is the assembly missing or incompatible with the current platform?Unable to resolve reference 'Google.Apis'. Is the assembly missing or incompatible with the current platform? Anyone know if this is supported or what I can do to get this working? [1]: https://www.nuget.org/packages/Google.Apis.Webfonts.v1/ [2]: https://assetstore.unity.com/packages/tools/utilities/nuget-for-unity-104640 [3]: /storage/temp/139879-unknown.png

Viewing all articles
Browse latest Browse all 706

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>