什么是Interop.MSutil.dll [英] What is Interop.MSutil.dll

查看:261
本文介绍了什么是Interop.MSutil.dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

首先我要说的是,我仍然在ASP.NET开发一个初学者。我觉得这是一个简单的问题,但我不能在任何地方找到答案。下面是我的问题:

First of all i want to say that I'm still a beginner in ASP.NET development. I think this is a simple question but I cant find an answer anywhere. The following is my problem:

我有一个很大的ASP.NET项目develped在.NET 2.0。现在,我必须更新thisProject到.NET 4.0。我认为它的工作非常好,当我装,并把它转换到.NET 4.0与VS2010但这种缺少参照。

I have a big ASP.NET project develped in .NET 2.0 . Now I have to update thisProject to .NET 4.0. I think it worked quite well when I loaded and converted it to .NET 4.0 with VS2010 but there is this missing reference.

缺少的参考MSutil.dll,我没有任何线索的参考是一个我无法找到该dll或者任何地方。在CS code的使用是这样的:

The missing reference is MSutil.dll and I don't have any clue what that reference is for an I cant find the dll anywhere either. In the cs code its used like this:

using LogQuery = MSUtil.LogQueryClassClass;
using IisW3cLogInputClass = MSUtil.COMIISW3CInputContextClassClass;
using LogRecordSet = MSUtil.ILogRecordset;
using LogRecord = MSUtil.ILogRecord;

谁能告诉我...

Can anyone tell me...

  • 这是什么参考是什么?
  • 在哪里可以找到/下载吗?
  • 如何,我可以包括/在我的解决方案安装?

推荐答案

这是用来读取IIS日志文件,并分析它们。

This is used to read the IIS log files and parse them.

要获得该DLL遵循这些步骤:

To get that DLL follow those steps:

  1. 这里下载日志分析器包,。 (免费下载,小的.msi 文件)

  1. Download the Log Parser package, here. (free download, small .msi file)

本机与您的项目和Visual Studio上安装日志分析器。

Install the Log Parser on the machine with the your project and Visual Studio.

浏览到安装程序的位置,你会看到一个名为LogParser.dll文件在那里。将文件复制到一些简单的位置如C:\ TEMP见下面为什么

Browse to the location of the installed program and you will see file called "LogParser.dll" in there. Copy the file to some easy location e.g. "C:\Temp" see below why.

进入所有程序 - >微软的Visual Studio 2010 - > Visual Studio工具,然后右键单击Visual Studio命令提示符,然后选择的以管理员身份<运行/ EM>

Go to All Programs --> Microsoft Visual Studio 2010 --> Visual Studio Tools and right click "Visual Studio Command Prompt" then choose Run as administrator.

从内部控制台类型:

tlbimp "C:\temp\LogParser.dll" /out:"C:\temp\Interop.MSUtil.dll"

这就是它 - 在这之后,你将有失去的 Interop.MSUtil.dll 返回你的机器上,将它复制到你的项目的位置,并添加引用它像你添加到任何其它外部DLL文件。

That's it - after this you will have the lost Interop.MSUtil.dll back on your machine, copy it to your project location and add reference to it like you add to any other external DLL file.

这篇关于什么是Interop.MSutil.dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆