Tôi đang cố gắng để Ứng dụng một ứng dụng web ASP.NET với Visual Studio 2012, .NET 4. Giải pháp chứa một ứng dụng web và một thư viện lớp. Vấn đề là tôi không thể nhìn thấy bước vào thư viện lớp, tôi nhận được một thông báo nói:Visual Studio Performance Profiling - Biểu tượng thư viện lớp không thể tìm thấy
Matching symbols could not be found. Choose the 'Symbol Settings...' link to add the symbol file location and then reload the report.
Sản lượng trong khi hồ sơ có vẻ tốt mặc dù:
Preparing web server for profiling.
Profiling started.
Instrumenting C:\Users\kipusoep\Documents\InfoCaster\svn\instances\PerformanceTest\\bin\PerformanceTest.dll in place
Info VSP3049: Small functions will be excluded from instrumentation.
Microsoft (R) VSInstr Post-Link Instrumentation 11.0.50727 x86
Copyright (C) Microsoft Corp. All rights reserved.
File to Process:
C:\Users\kipusoep\Documents\InfoCaster\svn\instances\PerformanceTest\bin\PerformanceTest.dll --> C:\Users\kipusoep\Documents\InfoCaster\svn\instances\PerformanceTest\bin\PerformanceTest.dll
Original file backed up to C:\Users\kipusoep\Documents\InfoCaster\svn\instances\PerformanceTest\bin\PerformanceTest.dll.orig
Successfully instrumented file C:\Users\kipusoep\Documents\InfoCaster\svn\instances\PerformanceTest\bin\PerformanceTest.dll.
Warning VSP2013: Instrumenting this image requires it to run as a 32-bit process. The CLR header flags have been updated to reflect this.
Instrumenting C:\Users\kipusoep\Documents\InfoCaster\svn\instances\PerformanceTest\SomeLibrary\obj\Debug\SomeLibrary.dll in place
Info VSP3049: Small functions will be excluded from instrumentation.
Microsoft (R) VSInstr Post-Link Instrumentation 11.0.50727 x86
Copyright (C) Microsoft Corp. All rights reserved.
File to Process:
C:\Users\kipusoep\Documents\InfoCaster\svn\instances\PerformanceTest\SomeLibrary\obj\Debug\SomeLibrary.dll --> C:\Users\kipusoep\Documents\InfoCaster\svn\instances\PerformanceTest\SomeLibrary\obj\Debug\SomeLibrary.dll
Original file backed up to C:\Users\kipusoep\Documents\InfoCaster\svn\instances\PerformanceTest\SomeLibrary\obj\Debug\SomeLibrary.dll.orig
Successfully instrumented file C:\Users\kipusoep\Documents\InfoCaster\svn\instances\PerformanceTest\SomeLibrary\obj\Debug\SomeLibrary.dll.
Warning VSP2013: Instrumenting this image requires it to run as a 32-bit process. The CLR header flags have been updated to reflect this.
Launching web server with profiling.
Launching profilable project.
Warning VSP2355: Some Windows counters will not be collected. Without this data, some performance rules may not fire.
Profiling process ID 68 (iisexpress).
Process ID 68 has exited.
Data written to C:\Users\kipusoep\Documents\InfoCaster\svn\instances\PerformanceTest\PerformanceTest_130801(1).vsp.
Profiling finished.
Loaded symbols for C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\0329cb19\89f716fc\App_Web_0slsprtu.dll.
Loaded symbols for C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\0329cb19\89f716fc\assembly\dl3\62c5c0d2\9777513f_ae8ece01\PerformanceTest.dll.
Profiling complete.
tôi nhận thấy đầu ra không nhà nước bất cứ điều gì về thư viện lớp được gọi là 'SomeLibrary' ở cuối, nơi nó nói "Loaded symbols for".
Có ai biết tại sao tôi không thể sử dụng thư viện lớp học không?
Đây là giải pháp VS: http://www.fileswap.com/dl/C9HPd8uEC/
Bạn đã tìm thấy giải pháp chưa? Tôi cũng bị mắc kẹt về điều này. Có một số câu hỏi SO tương tự khác nhưng không có câu trả lời [ở đây] (http://stackoverflow.com/questions/9609300/cant-collect-instrumentation-profiler-data-for-dll-in-visual-studio-2010) và [ở đây] (http://stackoverflow.com/questions/13240084/how-to-profile-only-a-class-library) – Ilan
Không, tôi đã đăng bài này chỉ 3 ngày trước ...: -/ – kipusoep