4

Im trying to use Google.Apis in my WP8 project, but im unable to compile it. I got Google.Apis 1.8.1, and Google.Apis.Auth 1.8.1, and i can access it by IntelliSense, but, when i try to compile my project, i got this error;

Im using Visual Studio Express 2012 for Windows Phone;

As you can see below, i got code-complete;

enter image description here

And i got the correct references

enter image description here

This is my final code, very simple class, only using Google.Apis;

enter image description here

And this error enter image description here

Pedro Celso
  • 135
  • 1
  • 3
  • 9
  • How did you install the assemblies? Did you use nuget packetmanager? – Marco Mar 18 '14 at 14:40
  • Does this post solve your problem ? http://stackoverflow.com/questions/17859942/the-type-or-namespace-could-not-be-found – Hyarantar Mar 18 '14 at 14:42
  • After the compilation failed, have a look at the "Output" tab (next to the "Error List" tab in your screenshot). It may provide more information about the issue. – Kevin Gosse Mar 18 '14 at 15:01
  • I used NuGet console to install the assemblies. And, since im using VS Express for Windows Phone, i cant use 'full .Net 4 framework'as my target framewoerk – Pedro Celso Mar 18 '14 at 15:43

1 Answers1

2

You should install the Google.Cloud.Language.V1 from NuGet Package Manager and then install the Google Cloud SDK for using the google apis in your project.

enter image description here

Ahad aghapour
  • 2,453
  • 1
  • 24
  • 33
  • I have talked with some friends of mine that know much more about Visual Studio than i do and I decided to download Visual Studio Pro(was using visual Studio Express 2012 for Windows Phone) and try to reproduce this error, and it worked well. – Pedro Celso Dec 07 '16 at 17:11