New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ALINK : error AL1078: Error signing assembly -- Access is denied. #15416
Comments
This error seems really rare, but I'm getting it too in my project. One thing I noticed is that it only happens when I add non English resx files. I take them out and the problem goes away. Running as administrator doesn't matter. Hope someone finds the root cause. |
This is not rare on my box: I get this almost 1/2 the times I build using build.cmd outside of a VC2015 x86 command prompt. |
This is not related to Microsoft.CSharp, which is a library for supporting language features such as dynamic, while ALINK is a build time tool. |
I am closing this since this is clearly not the right repo. |
Here is a SO question related to it: |
Experienced this very issue on a clean Windows 10 Pro install. The only extra thing I can think of: I ticked the "Encrypt" checkbox for one of my folders. Ticking that checkbox at the first time causes Windows OS to generate some cryptographic keys for NTFS file encryption. This can be a contributing factor for an issue to manifest itself. The exact sequence looks like so:
Building for .NET Framework 2.0 seems to be an important condition as I get this error only for .NET Framework 2.0 projects. All F# projects produce the assembly signing error not matter what .NET versions they target. A particular failing one was F# 4.1 (FSharp.Core, 4.4.1.0) targeting .NET Framework 4.5. The fix for me was to add myself to the list of permissions of |
Thanks. This way work good(win 10, VS 2013): The fix for me was to add myself to the list of permissions of C:\Users\All Users\Microsoft\Crypto\RSA\MachineKeys folder with Full Control. A side note: I'm a participant of Administrators group and it was there with Full Control but it wasn't enough. |
I just have hit this issue once again. This time it happened at a virtual machine environment. So I have a repro for this issue as VMware image file. Is anybody interested? Should I prepare the file and steps to reproduce? |
Getting build errors on Win10 + VS2015:
ALINK : error AL1078: Error signing assembly -- Access is denied. [s:\c1\src\Microsoft.CSharp\src\Microsoft.CSharp.csproj]
From the log:
msbuild.log.txt
The text was updated successfully, but these errors were encountered: