Error Creating Assembly Manifest Error Signing Assembly
resources Windows Server 2012 resources Programs MSDN subscriptions Overview Benefits Administrators Students Microsoft Imagine Microsoft Student Partners ISV Startups TechRewards Events Community Magazine Forums error creating assembly manifest error reading key file Blogs Channel 9 Documentation APIs and reference Dev centers Retired content error creating assembly manifest the system cannot find the file specified Samples We’re sorry. The content you requested has been removed. You’ll be auto redirected in 1 second. error signing assembly unknown error 8013141c Visual Basic Reference Visual Basic Language Reference Error Messages Error Messages Error creating assembly manifest:
ASP.NET Community Standup Forums Help Home/ASP.NET Forums/Advanced ASP.NET/Enterprise Services Integration/Signing Assemblies in VB.NET Signing Assemblies in VB.NET RSS 6 replies Last post Sep 14, 2003 02:32 PM by angiras ‹ Previous Thread|Next Thread › Print Share Twitter Facebook Email Shortcuts Active Threads Unanswered Threads Unresolved Threads Support Options Advanced Search Reply webdevjeff Member 10 Points 39 Posts Signing Assemblies in VB.NET Sep 10, 2003 12:15 PM|webdevjeff|LINK I have a VB console application that needs to support transaction. To accomodate this I have created a vb class that usies the system.enterprise services namespace to enable this. However I need https://msdn.microsoft.com/en-us/library/x54eh57f.aspx to sign this assembly to use it. I have used sn.exe to generate a key and it is in the app root and bin directories. I have also included the following lines in the class Imports System.EnterpriseServices Imports System.Runtime.CompilerServices Imports System.Reflection _ Public Class BOBOFileCreation Inherits ServicedComponent However when I compile I get the following error Error creating assembly manifest: Error reading key file 'myKey.snk' -- The http://forums.asp.net/t/335032.aspx?Signing+Assemblies+in+VB+NET system cannot find the file specified. Can anyone point me in the write direction, have looked on MSDN and the only thing I can see I may need to do is use al.exe but am unsure how to do this Thanks Jeff.................. Reply tomasr Member 30 Points 851 Posts Re: Signing Assemblies in VB.NET Sep 10, 2003 10:14 PM|tomasr|LINK The .snk file referenced in the AssemblyKeyFile attribute is resolved from the compilation directory. If you use the default VS.NET project setup, then you should be able to get it to work with: ... assuming the .snk file is in the project directory. Do notice, though, that to use EnterpriseServices you'll want your class in a DLL assembly, not inside your .EXE, which I'm not sure you're doing from the description you're presenting... Tomas Restrepo [MVP] tomasr@mvps.org Reply cnot None 0 Points 9 Posts Re: Signing Assemblies in VB.NET Sep 11, 2003 10:50 AM|cnot|LINK I had this problem signing : Cryptographic failure while signing assembly 'C:\cnot\dotnet\cnotTools\WSDLSolutionCS\obj\Debug\WSDLSolutionCS.dll' -- 'The key container name '..\\..\\MyKey.snk' does not exist' I could sign my VB.net project without any hassles, but for the C# assembly, I am missing something. I will just try some mo
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this http://stackoverflow.com/questions/721340/strong-signed-assemblies site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Strong Signed error creating Assemblies up vote 26 down vote favorite 5 I have a project I made in Visual Basic 2008 Express. I converted it from someone else's C# project, but it works. It has several DLL dependencies. I went to publish my project so I can install it on another machine and for each DLL, I get an error: "Assembly must be strong signed in order to error creating assembly be marked as a prerequisite." I've done some research, but am not finding a lot and what I have found I don't really understand. What does this error mean? What is the best way to resolve it? One other thing: it took me a LONG time to be able to get all my dll's to reference correctly, so I prefer that the solution has NOTHING to do with moving DLL's around because that will likely break the functionality in my main project. vb.net compiler-construction publishing share|improve this question asked Apr 6 '09 at 13:01 Jason Shoulders 3851718 add a comment| 10 Answers 10 active oldest votes up vote 45 down vote accepted If you're publishing via ClickOnce, go to the publish page and click on "Application Files". From there you should see a list of your DLL's. Ensure that the ones that are giving you trouble have their Publish Status marked as "Include" rather than "Prerequisite". What this error message means is that the current publishing settings are going to expect all of the assemblies in question to be present in the Global Assembly Cache on the target machine before insta