在哪里可以找到 Microsoft.VisualStudio.QualityTools.Resource.dll?
我正在为 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
我的问题是:
- 从哪里获取
Microsoft.VisualStudio.QualityTools.Resource.dll
? - 我可以从 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:
- where to get the
Microsoft.VisualStudio.QualityTools.Resource.dll
? - can I copy above file from GAC? (I tried
gacutil.exe
, there is no such copy option. I triedControl Panel->Administrative Tools
, but my XP machine only hasMicrosoft .Net Framework 1.1 Configuration
on which above two assembly didn't show up.)?
thanks,
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
如果您使用VS2008,请运行以下命令
Run the command below if you use VS2008
也许您有一台 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
您可以通过 cmd.exe 从 GAC 复制文件。例如:
适当调整版本。
Windows 资源管理器只是将 C:\Windows\ assembly 中的子文件夹替换为您可能知道的聚合视图。
You can copy files from the GAC via cmd.exe. E.g.:
Adjust the version appropriately.
Windows Explorer just replaces the subfolders in C:\Windows\assembly with the aggregated view you might know.
请相应地更改路径以从您的计算机获取它
由于使用 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