我正在使用NHProf和ASP.NET MVC 3.
我插了
HibernatingRhinos.Profiler.Appender.NHibernate.NHibernateProfiler.Initialize();
在我的Application_Start方法中,但NHProf仍然没有看到我的会话,也没有显示任何内容.
可能是我的问题的根源是什么?
我有VS 2015和web api soultion.
我现在得到这个错误
Server Error in '/SiteIntegration' Application.
Failed to compile both on .NET 4.5 and on .NET 4.0. 4.5 Exception: System.InvalidOperationException: Failed to compile the following symbols: 'NET40;NET45'
Source file 'C:\windows\TEMP\cq1ln2ls.0.cs' could not be found
Source file 'C:\windows\TEMP\cq1ln2ls.1.cs' could not be found
Source file 'C:\windows\TEMP\cq1ln2ls.2.cs' could not be found
Source file 'C:\windows\TEMP\cq1ln2ls.3.cs' could not be found
No source files specified
at HibernatingRhinos.Profiler.Appender.Util.GenerateAssembly.CompileInternally(String fileName, List`1 sources, HashSet`1 assemblies, HashSet`1 defineSymbols, String outputFolder, String compilerVersion, Int32 tryCount)
at HibernatingRhinos.Profiler.Appender.Util.GenerateAssembly.CompileAssembly(List`1 …Run Code Online (Sandbox Code Playgroud)