Error 1 Error Creating Assembly Manifest Access Is Denied
Development > MSBuild Question 1 error creating assembly manifest the system cannot find the file specified Sign in to vote Hello, I'm having problems running a Team Build when I give my assemblies a strong name. The team build works great unless I sign my assemblies. When I do that I get a "vbc : error BC30140: Error creating assembly manifest: Access is denied." Here is the error text from the build log: Target Common:__________________________________________________Project "D:\Build\Flin Flon\Release\Sources\FlinFlon.sln" is building "D:\Build\Flin Flon\Release\Sources\Common\Common.vbproj" (default targets): Target PrepareForBuild:Creating directory "D:\Build\Flin Flon\Release\Binaries\Release\".Creating directory "obj\Release\".Target CoreResGen:Processing resource file "My Project\Resources.resx" into "obj\Release\IRC.FlinFlon.Common.Resources.resources".Target CoreCompile:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Vbc.exe /noconfig /imports:Microsoft.VisualBasic,System,System.Collections,System.Collections.Generic,System.Data,System.Diagnostics /nowarn:42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 /rootnamespace:IRC.FlinFlon.Common /doc:obj\Release\Common.xml /define:"CONFIG=\"Release\",TRACE=-1,_MyType=\"Windows\",PLATFORM=\"AnyCPU\"" /reference:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Data.dll,C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.dll,C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Xml.dll /debug:pdbonly /keyfile:FlinFlonCommon.snk /optimize+ /out:obj\Release\Common.dll /resource:obj\Release\IRC.FlinFlon.Common.Resources.resources /target:library Common.vb "My Project\AssemblyInfo.vb" "My Project\Application.Designer.vb""My Project\Resources.Designer.vb" "My Project\Settings.Designer.vb" vbc : error BC30140: Error creating assembly manifest: Access is denied. Done building target "CoreCompile" in project "Common.vbproj" -- FAILED. Done building project "Common.vbproj" -- FAILED. Any help would be greatly appreciated, Joel Wednesday, May 24, 2006 8:52 PM Reply | Quote Answers 5 Sign in to vote Try running "sn -k keyPair.snk" if you get an error then you are having trouble calling the sn.exe
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 https://social.msdn.microsoft.com/Forums/vstudio/en-US/5fcb9fd2-90ad-4388-a688-9dbf1ea4e361/error-creating-assembly-manifest-access-is-denied?forum=msbuild 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) http://stackoverflow.com/questions/2857955/strong-naming-an-assembly-using-command-line-compile 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
Groups Pictures & Albums Search Forums Show Threads Show Posts Tag Search Advanced Search Go to Page... Thread Tools Rating: Display Modes http://www.kinook.com/Forum/showthread.php?t=676 #1 12-02-2004, 08:35 AM CRogers Registered User Join Date: 07-02-2003 Posts: 6 "Error reading key file" when compiling VS.NET web app I have a web app whose assembly is strongly named. Compilation within VS.NET works fine. Compiling during a build fails with the error vbc : error BC30140: Error creating assembly manifest: Error reading key file error creating 'path\to\my.snk' -- The system cannot find the path specified. Compiling non-web apps using this same key file works fine as well. Any advice? CRogers View Public Profile Find all posts by CRogers #2 12-02-2004, 09:48 AM CRogers Registered User Join Date: 07-02-2003 Posts: 6 Follow-up: The