我已通过 nuget 将 Ninject Mvc Extensions 添加到我的项目中,并且已将 NinjectMVC3 文件放入 App_Start 文件夹中。如果我进入我的源代码,“无可用源”页面会出现在我面前。
问题是我无法进入代码行的下一步。我必须在自己的代码中找到下一步并放置断点。
它正在寻找 NinjectDependencyResolver.cs 但当前路径中没有这样的文件,因为它已在以下信息中显示。
下面是来自 Visual Studio 的源文件信息。
Locating source for 'c:\Projects\Ninject\Maintenance2.2\ninject.web.mvc\mvc3\src\Ninject.Web.Mvc\NinjectDependencyResolver.cs'. Checksum: MD5 {c4 f8 b4 46 45 cb f8 1c c7 74 29 b9 70 9f 2b 24}
The file 'c:\Projects\Ninject\Maintenance2.2\ninject.web.mvc\mvc3\src\Ninject.Web.Mvc\NinjectDependencyResolver.cs' does not exist.
Looking in script documents for 'c:\Projects\Ninject\Maintenance2.2\ninject.web.mvc\mvc3\src\Ninject.Web.Mvc\NinjectDependencyResolver.cs'...
Looking in the projects for 'c:\Projects\Ninject\Maintenance2.2\ninject.web.mvc\mvc3\src\Ninject.Web.Mvc\NinjectDependencyResolver.cs'.
The file was not found in a project.
Looking in directory 'C:\Program Files\Microsoft Visual Studio 10.0\VC\crt\src\'...
Looking in directory 'C:\Program Files\Microsoft Visual Studio 10.0\VC\atlmfc\src\mfc\'...
Looking in directory 'C:\Program Files\Microsoft Visual Studio 10.0\VC\atlmfc\src\atl\'...
Looking in directory 'C:\Program Files\Microsoft Visual Studio 10.0\VC\atlmf敤楦楮楴湯祜畯摲晥湩瑩'...
The debug source files settings for the active solution indicate that the debugger will not ask the user to find the file: c:\Projects\Ninject\Maintenance2.2\ninject.web.mvc\mvc3\src\Ninject.Web.Mvc\NinjectDependencyResolver.cs.
The debugger could not locate the source file 'c:\Projects\Ninject\Maintenance2.2\ninject.web.mvc\mvc3\src\Ninject.Web.Mvc\NinjectDependencyResolver.cs'.
我怎样才能摆脱这个问题?