我已经将一个dll(sharpPDF)的引用添加到我的.net项目中。在代码中,它已经捕获了这个dll,我可以使用它。当我通过SharePoint WebPart部署时,出现以下错误:
Could not load file or assembly 'sharpPDF, Version=1.0.3511.18105, Culture=neutral,
PublicKeyToken=f099e668beaaa0f9' or one of its dependencies. The system cannot find the
file specified.
我正在使用STSDEV部署Web应用程序。我已经尝试清除C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files,但这并没有解决问题。你有什么想法可能出了什么问题?
gacutil -i (你的程序集名称).dll
(从 Visual Studio 命令提示符中执行)。 - sq33G