Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2014-03-17
4
Medium Priority
?
2,915 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Whether you’re looking to gather data for research or gather feedback on an idea, being able to build and distribute your own online survey is not only cost-effective, but allows you to reach a larger audience and receive results in real-time. Googl…
Working with spreadsheets can be a daunting task, especially when having to deal with large amounts of data. All you see are rows and rows of numbers and soon your eyes begin to glaze over. Take advantage of the tools in Google Sheets to create prof…
This Micro Tutorial will demonstrate how to analyze your website's back links using a network graph powered by a fusion table.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Suggested Courses

670 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