Solved

Error generating assemblies in Visual Studio. Reference assembly does not have a strong name.

Posted on 2014-03-17
4
2,760 Views
Last Modified: 2014-11-12
I included some assemply's from Google because I want to make an integration to Google Drive in Visual Studio 2013 but I'm getting these errors when I'm trying to make a build of my program in Visual Studio:

Error    5    Assembly generation failed -- Referenced assembly 'Google.Apis' does not have a strong name
Error    1    Assembly generation failed -- Referenced assembly 'Google.Apis.Auth' does not have a strong name
Error    3    Assembly generation failed -- Referenced assembly 'Google.Apis.Auth.PlatformServices' does not have a strong name
Error    4    Assembly generation failed -- Referenced assembly 'Google.Apis.Core' does not have a strong name
Error    2    Assembly generation failed -- Referenced assembly 'Google.Apis.Drive.v2' does not have a strong name

I'm told that the error is there because my assembly isn't signed. I found some guides to sign my assembly but unfortunately I haven't had success doing it.

I don't need a link to a tutorial on the web, but a simpel guide in what to do to sign each assembly (e.g. Google.Apis.Drive.v2). I really hope you experts can help.
0
Comment
Question by:154115
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 5

Expert Comment

by:Attlax
ID: 39934978
0
 

Author Comment

by:154115
ID: 39935369
I tried to follow the guide in the tutorial linked to in the stack overflow article but it didn't work:
http://buffered.io/posts/net-fu-signing-an-unsigned-assembly-without-delay-signing/

For some reason I can't rebuild and sign the assembly from the Command Window in Windows like this:
C:\Foo\bin> ilasm /dll /key=Foo.snk Bar.il
0
 

Accepted Solution

by:
154115 earned 0 total points
ID: 39944984
I found out how to get rid of the messages:

In the project properties i selected the tab "signing" and removed the checkmerk where it says "Sign the assembly". I know the assemblies isn't signed but at least the errors are gone. If anybody knows a good way to sign the assemblies don't hesitate to write it her but I'll close the question.
0
 

Author Closing Comment

by:154115
ID: 39955460
I didn't find a way to assign the assemblies but I found a way get rid of the error messages. Read the answer for more info.
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
This Micro Tutorial will demonstrate using Google Doc how to import live data to another spreadsheet in Google Spreadsheets using the IMPORTRANGE function.
This Micro Tutorial demonstrates how to quickly find related content for YourTango's posts using MozBar Chrome extension.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question