Skip to main content
 首页 » 编程设计

c#之无法在 VS 2010 中编译 WebKit .NET 0.5

2024年01月12日39Leo_wl

我正在尝试在 VS 2010 Professional 中编译 WebKit .NET 0.5,但出现错误:

"Could not load file or assembly 'C:\Users\Juan Luis\Desktop\WebKit.NET-0.5-src\bin\Debug\WebKitBrowser.dll' or one of its dependencies. The system cannot find the file specified."

我尝试从解决方案中删除 WebKitBrowserTest 项目,但现在我得到了

"The type or namespace name 'WebView' could not be found"

到处都是错误。知道我做错了什么吗?

请您参考如下方法:

将项目调试文件夹中的 .dll 替换为原来的 .dll。当 VS 复制 .​​dll 时,它会出错,替换它们应该可以解决问题。