We use Lab Manager to test on multiple platforms and do remote debugging by creating a Windows account with the same name and password on both the local dev box and the VM in Lab Manager (causes the VS debugger to think that the same account is being used on both boxes so it allows the debug server to be seen on the dev box). Then we run VS under the debug account and can debug remotely.
我们使用Lab Manager在多个平台上进行测试,并通过在Lab Manager中的本地开发盒和VM上创建具有相同名称和密码的Windows帐户来进行远程调试(使VS调试器认为正在使用相同的帐户)在两个框上,所以它允许在开发框上看到调试服务器)。然后我们在调试帐户下运行VS并可以远程调试。
This all works great except that trying to run the DataSetVisualizer causes the following exception:
除了尝试运行DataSetVisualizer导致以下异常之外,这一切都很有效:
Microsoft.VisualStudio.DebuggerVisualizers.DebugViewerShim.RemoteObjectSourceException: Could not load file or assembly 'file:///D:\apps\Microsoft Visual Studio 8\Common7\Packages\Debugger\Visualizers\Microsoft.VisualStudio.Debugger.DataSetVisualizer.dll' or one of its dependencies.
Microsoft.VisualStudio.DebuggerVisualizers.DebugViewerShim.RemoteObjectSourceException:无法加载文件或程序集'file:/// D:\ apps \ Microsoft Visual Studio 8 \ Common7 \ Packages \ Debugger \ Visualizers \ Microsoft.VisualStudio.Debugger.DataSetVisualizer.dll'或其中一个依赖项。
The dll is in the specified folder, and the folder allows Full control by Administrators (of which the debug account is a member). There are no other dlls in that folder.
dll位于指定的文件夹中,该文件夹允许管理员完全控制(调试帐户是其成员)。该文件夹中没有其他dll。
I've also tried copying the visualizer dll to Document and Settings\<debug_account>\My Documents\Visual Studio 2005\Visualizers
(the recommended path for custom visualizers). The exception is the same but references the MyDocs path instead of the VS install path.
我还尝试将visualizer dll复制到Document and Settings \
Anyone else seen this? Any ideas?
有人看过这个吗?有任何想法吗?
1 个解决方案
#1
A colleague of mine found the answer: copy the visualizer dll to a location on the remote machine that mirrors the directory structure on your dev box.
我的一位同事找到了答案:将visualizer dll复制到远程计算机上的一个位置,该位置反映了开发盒上的目录结构。
#1
A colleague of mine found the answer: copy the visualizer dll to a location on the remote machine that mirrors the directory structure on your dev box.
我的一位同事找到了答案:将visualizer dll复制到远程计算机上的一个位置,该位置反映了开发盒上的目录结构。