在哪里可以找到 Microsoft.VisualStudio.QualityTools.Resource.dll?

发布于 2024-09-19 03:38:38 字数 748 浏览 2 评论 0原文

我正在为 C# 项目设置新的 Win7 构建机器。我们不想在那台计算机上安装 Visual Studio。所以我按照指令“

第 3 步:在

    Put Microsoft.VisualStudio.QualityTools.Resource.dll and
 Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll in the GAC on the CIServer,
 because that is where they are on the DevMachine.

我的开发计算机(安装了 Visual Studio 2008 专业版)上,我在我的 GAC (C:\windows\assemble) 中找到了它们,但我搜索了整个开发计算机,但找不到 Microsoft. VisualStudio.QualityTools.Resource.dll

我的问题是:

  1. 从哪里获取Microsoft.VisualStudio.QualityTools.Resource.dll
  2. 我可以从 GAC 复制上述文件吗? (我尝试了gacutil.exe,没有这样的复制选项。我尝试了控制面板->管理工具,但我的XP机器只有Microsoft .Net框架 1.1 配置上面的两个程序集没有出现。)?

谢谢,

I am in the process to setup our new Win7 build machine for our C# project. We don't want to install Visual Studio on that machine. So I am following the instruction "Running mstest without Visual Studio" to setup our machine.

On step 3:

    Put Microsoft.VisualStudio.QualityTools.Resource.dll and
 Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll in the GAC on the CIServer,
 because that is where they are on the DevMachine.

On my develoopment machine (installed Visual Studio 2008 professional version) I found both of them in my GAC (C:\windows\assembly) but I searched my entire development machine and couldn't find the Microsoft.VisualStudio.QualityTools.Resource.dll

My questions are:

  1. where to get the Microsoft.VisualStudio.QualityTools.Resource.dll?
  2. can I copy above file from GAC? (I tried gacutil.exe, there is no such copy option. I tried Control Panel->Administrative Tools, but my XP machine only has Microsoft .Net Framework 1.1 Configuration on which above two assembly didn't show up.)?

thanks,

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

落花浅忆 2024-09-26 03:38:41

如果您使用VS2008,请运行以下命令

copy C:\Windows\assembly\GAC_MSIL\Microsoft.VisualStudio.QualityTools.Resource\9.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.QualityTools.Resource.dll c:\temp

Run the command below if you use VS2008

copy C:\Windows\assembly\GAC_MSIL\Microsoft.VisualStudio.QualityTools.Resource\9.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.QualityTools.Resource.dll c:\temp
怎言笑 2024-09-26 03:38:40

也许您有一台 64 位机器。在这种情况下,它就在这里。

C:\Program Files (x86)\Microsoft Visual Studio
10.0\Common7\IDE\PublicAssemblies\Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll

Maybe you have a 64 bit machine. In that case, it's here.

C:\Program Files (x86)\Microsoft Visual Studio
10.0\Common7\IDE\PublicAssemblies\Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll

累赘 2024-09-26 03:38:39

您可以通过 cmd.exe 从 GAC 复制文件。例如:

copy C:\Windows\assembly\GAC_MSIL\Microsoft.VisualStudio.QualityTools.Resource\10.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.QualityTools.Resource.dll C:\Temp

适当调整版本。

Windows 资源管理器只是将 C:\Windows\ assembly 中的子文件夹替换为您可能知道的聚合视图。

You can copy files from the GAC via cmd.exe. E.g.:

copy C:\Windows\assembly\GAC_MSIL\Microsoft.VisualStudio.QualityTools.Resource\10.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.QualityTools.Resource.dll C:\Temp

Adjust the version appropriately.

Windows Explorer just replaces the subfolders in C:\Windows\assembly with the aggregated view you might know.

聆听风音 2024-09-26 03:38:39

请相应地更改路径以从您的计算机获取它

由于使用 vs2010,我的此 Dll 版本当前位于以下位置 C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\ReferenceAssemblies\v2.0,因此如果需要, 单独运行此命令,在签入源代码管理的文件夹结构中创建一个工具文件夹,然后从该工具文件夹而不是从 GAC 引用 dll。这意味着当它在构建机器上构建时,不需要安装 Visual Studio

my Version Of this Dll currently sites at the following location C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\ReferenceAssemblies\v2.0 due to using vs2010 so change the path accordingly to get it from your machine

if you need to run this in isolation create a tools folder in your folder structure thats checked into source control and then reference the dll from that tools folder and NOT from the GAC. this means that when it builds on the build machine it wont need Visual Studio installed

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文