The MCMSValidators Project
Before we begin writing the code samples in this chapter, let’s create a project file to store our code:
1. In Visual Studio .NET, create a new Class Library project.
2. Name the new project
MCMSValidators
.3. Add the following references to the project:
System.Web
Microsoft.ContentManagement.Publishing.dll
Microsoft.ContentManagement.Publishing.Extensions.Placeholders.dll
Microsoft.ContentManagement.WebControls.dll
The library files from the
Microsoft.ContentManagement
namespace can be found in the<install directory>/Microsoft Content Management Server/server/bin
directory.4. Delete
Class1.cs
, the file that was generated by the wizard. We won’t need it.