login about faq

I am attempting to embedded the ChilkatDotNet2.dll as a resource so that I can deploy a single executable.

I have the code working prior to making it a resource.

I am in .Net 2.0 for the project running under Visual Studio 2010.

When I change the Visual Studio reference to have "Copy Local" set to false, the CurrentDomain_AssemblyResolve code below fires, but throws an exception. I have tested the same code with a DLL that I have made myself and it works. I am working in VB.net.

The exception being thrown is:

Unverifiable code failed policy check. (Exception from HRESULT: 0x80131402)

asked Feb 27 '13 at 09:23

chilkat's gravatar image

chilkat ♦♦
11.8k316358421


The Chilkat .NET assembly is a mixed-mode assembly. The internal core (i.e. the implementation) is written in C++ and compiles to native code. The outer layer is managed and thus presents a managed interface. An assembly that is not 100% managed is "unverifiable".

See these web pages for more information:

http://www.chilkatforum.com/questions/2797/installing-chilkat-net-on-a-web-server-for-aspnet

http://stackoverflow.com/questions/2612128/unverifiable-code-failed-policy-check-for-a-closed-source-assembly

link

answered Feb 27 '13 at 09:26

chilkat's gravatar image

chilkat ♦♦
11.8k316358421

edited Nov 13 '13 at 08:53

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×2
×2
×1

Asked: Feb 27 '13 at 09:23

Seen: 9,005 times

Last updated: Nov 13 '13 at 08:53

powered by OSQA