What is Interop.MSutil.dll

前端 未结 3 894
误落风尘
误落风尘 2021-01-12 09:39

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 probl

相关标签:
3条回答
  • 2021-01-12 10:14

    Interop.MSutil.dll is a .NET interface to LogParser.dll, primarily used to parse IIS logs.

    To use it, you will need LogParser 2.2 installed and LogParser.dll registered on your machine.

    Interop.MSUtil is now available via nuget so you no longer have to create it yourself, but after installation you will have to manually add a reference to the DLL in your solution's packages folder.

    After adding the reference, right-click it and set Embed Interop Types to false to avoid receiving an error that the classes cannot be embedded.

    0 讨论(0)
  • 2021-01-12 10:18

    It seems is an Interop object.

    An Interop object is a bridge between a .Net dll and a COM object

    Perhaps this link helps you

    http://www.fixdllexe.com/Interop.MSUtil.dll-149085.html

    0 讨论(0)
  • 2021-01-12 10:23

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

    To get that DLL follow those steps:

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

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

    3. 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.

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

    5. From within the console type:

      tlbimp "C:\temp\LogParser.dll" /out:"C:\temp\Interop.MSUtil.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.

    0 讨论(0)
提交回复
热议问题