Could not load file or assembly 'ScriptReferenceProfiler' or one of its dependencies. The system cannot find the file specified.
运行应用程序时出现分析器错误
运行应用程序后出现此错误。可能的问题是什么? 我正在使用Visual Studio 2008,.NET 3.5 sp1 for C#。
*生成后的ASP.NET应用程序调试。
**大会负荷跟踪
=== Pre-bind state information === LOG: User = ORG-FA431C61BE1\ahsan LOG: DisplayName = ScriptReferenceProfiler (Partial) LOG: Appbase = file:///C:/Documents and Settings/My Documents/Visual Studio 2008/myproj/myproj/ LOG: Initial PrivatePath = C:\Documents and Settings\My Documents\Visual Studio 2008\myproj\myproj\bin Calling assembly : (Unknown).
LOG: This bind starts in default load context. LOG: Using application configuration file: C:\Documents and Settings\My Documents\Visual Studio 2008\myproj\myproj\web.config LOG: Using machine configuration file from C:\WINDOWS.0\Microsoft.NET\Framework\v2.0.50727\config\machine.config. LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind). LOG: The same bind was seen before, and was failed with hr = 0x80070002.
您需要提供更多信息才能得到答案。它*非常*模糊。 – casperOne 2011-05-01 20:10:21
可能不会为ScriptReferenceProfiler添加引用。检查他们。如果运行意味着执行exe文件,该文件必须已经存在。如果你只是复制exe,复制DLL的 – 2011-05-01 20:10:23
这是当我成功构建后调试。 – gandalfish 2011-05-01 20:12:24