Visual Studio's tag archives

Creating a SharePoint Object Model Script in Visual Studio

Object model scripts are scripts that access the SharePoint API directly.  These scripts are typically written in Visual Studio and are run while on-server and are great to automate tasks or to complete operations that you can’t run using stsadm or the central admin console.  The below demonstration shows hot to create a simple project that consumes the object model to modify the publishing polling interval. Step 1 Open Visual Studio 2005 or 2008 and create a new project. Step 2...

Could not find schema information for the element …

Problem You're developing SharePoint workflows in Visual Studio 2005 or Visual Studio 2008 and then all of a sudden you get these errors when you attempt to compile your solution. I've noticed that this happens most often when you rename on of your forms and/or you rename the xsd myschema.xsd /c file you've created. Could not find schema information for the element http://schemas.microsoft.com/sharepoint/:StatusPageUrl Could not find schema information for the element http://schemas.micro...