- Home /
Question by
jmgek · Jun 11, 2019 at 09:10 PM ·
dllgoogleclass library
Building a Google external class library throwing errors when included into Unity project
I'm trying to include the Google webfornts api 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:
Built out a class library of a .net Nuget package with another solution and included it
Imported the the API directly into the Unity solution using NuGet
Tried importing using the Unity Nuget pack asset
This is the class lib settings:
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?
unknown.png
(19.3 kB)
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612203027im_/https://answers.unity.com/themes/thub/images/avi.jpg)