ngen security error on SystemInterface.dll

Oct 29, 2015 at 3:25 PM
Any ideas on why ngen is returning 0x8013150A on this assembly?


Microsoft (R) CLR Native Image Generator - Version 4.6.81.0
Copyright (c) Microsoft Corporation. All rights reserved.
Installing assembly D:\work\CodePlex\SystemWrapper\SystemWrapper4\bin\Debug\SystemInterface.dll
1> Compiling assembly D:\work\CodePlex\SystemWrapper\SystemWrapper4\bin\Debug\SystemInterface.dll (CLR v4.0.30319) ...
1>Error compiling D:\work\CodePlex\SystemWrapper\SystemWrapper4\bin\Debug\SystemInterface.dll: An error relating to security occurred. (Exception from HRESULT: 0x8013150A)