Search code examples
google-api-dotnet-clientgoogle-directory-api

Google Directory API is not strong signed


BEFORE ANY OF YOU CLAIM THIS IS NOT WHERE THE API IS SUPPORTED PLEASE SEE THIS LINK: https://developers.google.com/admin-sdk/support

Peleyal: This is probably not the best place to have your support site; all I get are people that down vote because this is "not the place to get support on an API" according to the rules....

Well, I got everything working in my library with the new API then I stumbled on this little gem while importing it into my code base...

Error 4 Assembly generation failed -- Referenced assembly 'Google.Apis.Admin.Directory.directory_v1' does not have a strong name Error 5 Assembly generation failed -- Referenced assembly 'Google.Apis.Auth.PlatformServices' does not have a strong name Error 6 Assembly generation failed -- Referenced assembly 'Google.Apis' does not have a strong name Error 7 Assembly generation failed -- Referenced assembly 'Google.Apis.Core' does not have a strong name Error 8 Assembly generation failed -- Referenced assembly 'Google.Apis' does not have a strong name Error 9 Assembly generation failed -- Referenced assembly 'Google.Apis.Core' does not have a strong name

According to the stack overflow on third party assemblies.... Third party DLL does not have 'strong name'?

But I'm not sending a "nasty gram", but rather a plea. Can we get this assembly signed?


Solution

  • I'm sorry for the late response, and I'm sorry to bring the bad news: There is already an open issue for this one - https://code.google.com/p/google-api-dotnet-client/issues/detail?id=238, and yeah it's old. We will try to finally address this one in the next release, but I can't give any concrete estimations.
    By the way, we will have to address one of the dependencies which as far as I know isn't signed first - ZLib.Portable.

    Anyway, you can sign it yourself, with your version, because the library is open source. The core library code is available here: https://code.google.com/p/google-api-dotnet-client/source/browse/, and the Google Admin Directory API is in https://developers.google.com/resources/api-libraries/download/admin/directory_v1/csharp.