Hello
Thanks a Lot for the reply.
I have managed to Solve this.
1) Of-Course right, Embed Interop Type=True for the LogParser.dll.Seems to helping to go with my requirement.
2) Here are My Observation
VS 2010 and .NET 3.5
Along with Embed Interop Type=True,
Still generates the Interop.MSUtill.dll file
VS 2010 and .NET 4.0
Along with Embed Interop Type=True,
The Same C# Code, throws Compilation error
Saying Certain Method like LogQueryClass cannot be Embedded properly.
Solution was I Directly reference the Classes as follows.
And note it also required Microsoft.CSharp-Dll also.
using Microsoft.CSharp;
public static LogQueryClass LogParser = (LogQueryClass)Activator.CreateInstance(Type.GetTypeFromCLSID(new Guid("8CFEBA94-3FC2-45CA-B9A5-9EDACF704F66")));
In a way, everything is done by the Visual Studio and
I don´t have information of what exactly it does.
So It would be helpful if someone explains the basic or fundamentals behind this.
Suppose If I have to stay of the VS2008 and .NET 3.5
What should I do to overcome the situation ?
Like, "late-bound code" What does this mean.
May I have certain examples on this. Just example is enough and am not asking for directly solution though.
I am asking because, I wanted to understand rather saying Visual Studio fixed that issue :-)
Thanks and Regards
Durai Velan C.