The text of this article is not in this database — only its details are. The old site it was published on is gone, but the Internet Archive kept a copy: Search Scopes in SharePoint 2010
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment
It is the same account you read, post and publish with — and you will come straight back to this page.

Adalto JotaPosted Apr 13, 2011, 12:13 PM
Hi Anand. Really nice post, but I'm unable to do by myself. My Visual Studio 2010 gives me the following warnings: Warning 1 Assembly generation -- Referenced assembly 'Microsoft.Office.Server.Search.dll' targets a different processor ScopeCopy Warning 2 'Microsoft.Office.Server.Search.Administration.SearchContext' is obsolete: 'This class is obsolete now. Please use SearchServiceApplication and SearchServiceApplicationProxy instead.' Warning 3 'Microsoft.Office.Server.Search.Administration.SearchContext' is obsolete: 'This class is obsolete now. Please use SearchServiceApplication and SearchServiceApplicationProxy instead.' Warning 4 'Microsoft.Office.Server.Search.Administration.Scopes.Scopes(Microsoft.Office.Server.Search.Administration.SearchContext)' is obsolete: 'This constructor is deprecated now.' When I try to run the program, I got the following exception: Could not load type 'Microsoft.Office.Server.Search.Administration.SearchContext' from assembly 'Microsoft.Office.Server.Search, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'. Could you help me?