Error Creating Assembly Manifest The Parameter Is Incorrect
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 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 Naming an assembly using command line compile up vote 3 down vote favorite I am trying to use NAnt in order to compile and sign an assembly using the vbc compiler. I have a project set up and am able to successfully sign the assembly compiling with VS2010. When I try to sign it using the command line I get this error: vbc : error BC30140: Error creating assembly manifest: Error signing assembly -- The parameter is incorrect. I even created a trivially simple app (just an assemblyinfo.vb file) that will not compile and sign using vbc.exe What am I doing wrong? here is my assemblyinfo.vb: Option Strict Off Option Explicit On Imports System Imports System.Reflection
Post your question and get tips & solutions from a community of 418,509 IT Pros & Developers. It's quick & easy. error creating assembly manifest P: n/a gs what Can I do to fix "Error 1 Error creating assembly manifest: The key container name 'VS_KEY_0026D8F3E5DA0FB07453D4FB893A048E' does not exist "? I opened a com project and I get the above message. thinking of possible corruption of VB .net 2005 express, tried repair with the DVD but no luck. http://stackoverflow.com/questions/2857955/strong-naming-an-assembly-using-command-line-compile Aug 8 '06 #1 Post Reply Share this Question 1 Reply P: n/a gs got the problem resolved. removing the signing, save project and reapply the strong signing in the project. rebuild. Presto. The problem disappeared. "gs"
MPP, images formats and many more! Fix for ASP.NET "Could not load file or assembly App_Web…" Error Posted by Brendan Tompkins on November 15, 2006 Every so often on our http://codebetter.com/brendantompkins/2006/11/15/fix-for-asp-net-could-not-load-file-or-assembly-app_web-error/ production web servers, we get the "Could not load file or assembly App_Web…" error. There's a long thread over at ASP.NET about this issue, but I thought a simple post may help others https://github.com/dotnet/orleans/issues/1117 running into this problem. I've found an quick and easy, albeit not ideal fix for this problem. There's supposedly a hotfix for this, but there are reports that this won't actually fix the error creating error. Until a good long term fix comes around, here's a quick way to fix this problem. Delete all temporary ASP.NET files, by removing the folders under the following directory: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\ Your mileage may vary (win directory differences, etc) -Brendan About Brendan Tompkins Brendan runs CodeBetter.Com. He was twice awarded MVP for Microsoft .NET, and is a founder and the CTO of Quick180.Com More error creating assembly about Brendan at https://www.linkedin.com/codebetter View all posts by Brendan Tompkins → This entry was posted in ASP.NET. Bookmark the permalink. Follow any comments here with the RSS feed for this post. ← Billy McCafferty's Refactoring Contest. Nice! I like! Book Giveaway - Week 4 Winner → Bug Hunter Hey Buddy..Thanks..It worked for me ….great effort… Stefan Thank you very much, Brendan, this fixed my issue. Regards, Stefan Lyall Did the trick, thanks dude! http://www.facebook.com/christopher.d.thomas.75 Christopher David Thomas Thank you very much for this solution, worked perfectly in my case after changing the details to match the .NET version and architecture I am using. For anyone interested, my issue occurred after my server unexpectedly crashed. Perdido09 Look here: http://stackoverflow.com/questions/295919/could-not-load-the-assembly-app-web-kh7-x3ka-make-sure-that-it-is-compiled-be Shadowsurfs Umm, yeah. This solution is complete BS. Sorry, not really a solution as much as a crappy bandaid that will only work in certain situations. Alexis_tf this is not a correct fix for this problem, you better stay as a disco dancer full time. Jack I agree it is too late to delete the temp file after the problem alreay happen. Have you found a better solution? Simdrouin This solution works when there actually is a problem (which is, gene
Sign in Pricing Blog Support Search GitHub This repository Watch 307 Star 2,278 Fork 556 dotnet/orleans Code Issues 234 Pull requests 18 Projects 0 Wiki Pulse Graphs New issue Error signing assembly -- The parameter is incorrect. #1117 Closed mythallar opened this Issue Dec 7, 2015 · 5 comments Projects None yet Labels question Milestone No milestone Assignees No one assigned 3 participants mythallar commented Dec 7, 2015 Hi, I am unable to compile "Orleans Grain Interface Collection" project when "Sign the assembly" option is enabled in VS and key is password protected. I'm getting following error: The command ""C:\Orleans\HelloWorld\packages\Microsoft.Orleans.Templates.Interfaces.1.0.10\build\..\tools\ClientGenerator.exe" "@obj\Debug\HelloWorld.Api.codegen.args.txt"" exited with code 3. HelloWorld.Api Cryptographic failure while signing assembly 'c:\Orleans\HelloWorld\HelloWorld.Api\obj\Debug\HelloWorld.Api.dll' -- 'Error signing assembly -- The parameter is incorrect. ' HelloWorld.Api C:\Orleans\HelloWorld\HelloWorld.Api\EXEC I'm using VS templates for Project Orleans (nuget package 1.0.10), without SDK installed. .NET Foundation member sergeybykov commented Dec 7, 2015 I just tried and was able to successfully created signed grain interface and class assemblies with Orleans 1.0.10 NuGets. Can you share you code for a repro? mythallar commented Dec 8, 2015 Source code: https://github.com/mythallar/orleans_hello_world.git Password for key.pfx = abc123 Full MSBuild log for Orleans task: 1>Task "Exec" 1> "C:\Orleans\HelloWorld\packages\Microsoft.Orleans.Templates.Interfaces.1.0.10\build\..\tools\ClientGenerator.exe" "@obj\Debug\HelloWorld.Api.codegen.args.txt" 1> Orleans-CodeGen - command-line = "C:\Orleans\HelloWorld\packages\Microsoft.Orleans.Templates.Interfaces.1.0.10\build\..\tools\ClientGenerator.exe" "@obj\Debug\HelloWorld.Api.codegen.args.txt" 1> Orleans-CodeGen - Reading code-gen params from file=obj\Debug\HelloWorld.Api.codegen.args.txt 1> MISSING: Path not exists: obj\Debug\HelloWorld.Api.dll 1> F# compiler path not set. 1> Orleans-CodeGen - Options 1> InputLib=C:\Orleans\HelloWorld\HelloWorld.Api\obj\Debug\HelloWorld.Api.dll 1> SigningKey=C:\Orleans\HelloWorld\HelloWorld.Api\key.pfx 1> ServerGen=False 1> CodeGenFile=C:\Orleans\HelloWorld\HelloWorld.Api\Properties\orleans.codegen.cs 1> Orleans-CodeGen - Using referenced libraries: 1> Microsoft.CSharp.dll => C:\Program Fi