I use in my project ASP.NET assemblies building from source code. My project builded successful. But when I start in debug mode, I get exception
Could not load file or assembly 'System.Net.Http.Formatting' or one of its dependencies. Strong name signature could not be verified. The assembly may have been tampered with, or it was delay signed but not fully signed with the correct private key. (Exception from HRESULT: 0x80131045)
I was able to get around this issue for my odata dll by removing the following line of code from the project file of the asp web stack odata project.
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory),Runtime.sln))\tools\WebStack.settings.targets" />
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With