Rachit95 / google-api-for-dotnet

Automatically exported from code.google.com/p/google-api-for-dotnet
0 stars 0 forks source link

Google API Transalte not working on Visual Basic Dot net 2013 #106

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

I am using this code on Visual Studio 2013 and Dot net 3.5 as target frame work 
with GoogleTranslateAPI_0.4_alpha.

Dim UseM As New Google.API.Translate.TranslateClient("www.google.com")
Dim text As String = "What is your name"
Console.WriteLine(UseM.Translate(text, Language.English, Language.French))

But getting error:
An unhandled exception of type 'System.MethodAccessException' occurred in 
Microsoft.VisualStudio.HostingProcess.Utilities.dll

Original issue reported on code.google.com by adhoss...@gmail.com on 3 Sep 2014 at 2:11