I'm working on a search project and in this project I have included this Microsoft.Search.Interop.dll file, since it provides a good API for adding folders to the search crawler scope (IncludedInCrawlScope and AddUserScopeRule). This file comes from the DSearch project offered online as an example to the Windows Search SDK.
However, when moving this file from that project to another one, I get the following error:
Cannot embed interop types from assembly 'c:\...pathtofile...\Microsoft.Search.Interop.dll' because it is missing the 'GuidAttribute' attribute.
How should I go about solving this problem?
I'm on a Windows Server 2008, using Visual Studio 2010 RC.
PS: Not sure if this is the correct forum category in which to post this.
Moved byCoolDadTxMVPThursday, March 25, 2010 1:44 PMNot IDE related (From:Visual C# IDE)