What is Interop.MSutil.dll

First of all, I want to say that I'm still new to ASP.NET development. I think this is a simple question, but I can not find the answer anywhere. Here is my problem:

I have a large ASP.NET project developed in .NET 2.0. Now I need to upgrade this project to .NET 4.0. I think it was very good when I downloaded and converted it to .NET 4.0 with VS2010, but there is this missing link.

The invalid link is MSutil.dll, and I don’t know what the link is because I cannot find the DLL anywhere. In cs code, it is used as follows:

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

Can anyone tell me ...

  • What is this link for?
  • Where can I find / download it?
  • How can I enable / install it in my solution?
+7
source share
3 answers

Used to read and analyze IIS log files.

To get this dll, follow these steps:

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

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

  • Go to the installation location of the installed program and you will see the LogParser.dll file there. Copy the file to a convenient location, for example. "C: \ Temp" see below.

  • Go to All Programs → Microsoft Visual Studio 2010 → Visual Studio Tools and right-click “Visual Studio Command Prompt”, then select “Run as Administrator”.

  • Inside console type:

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

This is - after that you will have lost Interop.MSUtil.dll on your computer, copy it to your project location and add a link to it, as you add to any other external DLL file.

+11
source

Interop.MSutil.dll is the .NET interface for LogParser.dll , mainly used for analyzing IIS logs.

To use it, you need to install LogParser 2.2 and register LogParser.dll on your computer.

Interop.MSUtil now available through nuget, so you no longer need to create it yourself, but after installation you will have to manually add the link to the DLL in the solution packages folder.

After adding the link, right-click it and set the value " Embed Interop Types to" false to avoid receiving an error about the impossibility of introducing classes.

+3
source

This seems to be an Interop object.

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

Maybe this link will help you

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

+1
source

Source: https://habr.com/ru/post/919013/


All Articles