.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month

Home >> Forum >> .NET Framework >> Post New QuestionBookmark and Share Subscribe to Forum

Is that mandatory to generate Strong Name for Public Assembly.

Posted By: Vineet Yadav     Posted Date: April 19, 2012    Points:5   Category :.NET Framework
Suppose, i create a Assebly and try to register it without generating strong name. Then will it allow to register or not.

Author: Vineet Yadav             
Posted Date: April 19, 2012     Points: 20   

Yes. If no strong name provided then it will give Error as "Failure adding assembly to the cache: Attempt to install an assembly without a strong name".

Detail is given below:

bug>gacutil -i PublicClassLibraryNOStrongName.dll
Microsoft (R) .NET Global Assembly Cache Utility. Version 3.5.21022.8
Copyright (c) Microsoft Corporation. All rights reserved.

Failure adding assembly to the cache: Attempt to install an assembly without a s
trong name


Thanks & Regards,
Vineet Yadav

Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend