以下转自帖子:
Load Addon in WebBrowser Control with C# 2.0
*******************************************************************************
I found a solution thanks to the user EvilFactor!
Here is the quote:
I had the exact same problem for ages. I resolved it by disabling DEP for the process, as well as building for x86 rather than AnyCPU (as from what I understand, all x64 processes automatically have DEP active.) It appears the Adobe SVG plugin may be doing
something that Vista and Windows 7 dislike. Note that this will only work if the DEP setting for your machine isn't set to AlwaysOn. Give this a try and see if it'll work for you:
Go
to Project Properties -> Compile -> Build Events
Paste
the following under post-build:
call
"$(DevEnvDir)..\tools\vsvars32.bat"
editbin.exe
/NXCOMPAT:NO "$(TargetPath)"
*******************************************************************************