Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

Content Type XmlDocument NamespaceURI can't find sharepoint/v3/forms/url schemas file

$
0
0

I just installed VS2012 on may server 2008R2 and I am having a problem with a new farm solution defining a content type element.

The content type element file has an XmlDocument tag with an attribute of NamespaceURI="http://schemas.microsoft.com/v3/contnettype/forms/url.  It fails to find the schemas file.  I see this both as I type the code and also if I build I get the following error: 'Could not find schema information for the element "htt://schemas.microsoft.comsjare[pomt/v3/forms/url:FormUrls' (actually there is one for New and Edit too).  The following is my element block

<?xml version="1.0" encoding="utf-8"?><Elements xmlns="http://schemas.microsoft.com/sharepoint/"><!-- Parent ContentType: Item (0x01) --><ContentType ID="0x0100B4F1E630065C4B17AE898DBBE157FCE2" Name="MyContentType" Group="Custom Content Types" Description="My Content Type" Inherits="TRUE" Version="0"><FieldRefs><FieldRef ID="{7efd0ac4-a880-47ae-a08a-609ff8250afc}" DisplayName="Requestor" Required="FALSE" Name="Requestor" /><FieldRef ID="{132b9323-00d6-442f-a6d1-1bb3855be1c5}" DisplayName="Site URL" Required="FALSE" Name="Site URL" /><FieldRef ID="{0c820fba-a6da-47a4-94b5-7b70ef229460}" DisplayName="My Status" Required="FALSE" Name="My Status" /><FieldRef ID="{f98d41a1-a4db-4daa-93de-4d6ec6180f59}" DisplayName="Requestor Comments" Required="FALSE" Name="Requestor Comments" /><FieldRef ID="{9011bfd4-85c9-4da4-a093-d2362d16afd7}" DisplayName="Submit Date" Required="FALSE" Name="Submit Date" /></FieldRefs><XmlDocuments><XmlDocument NamespaceURI="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms/url"><FormUrls xmlns="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms/url"><New>_layouts/SpDevPipelinePractice1/MyForm.aspx</New><Edit>_layouts/SpDevPipelinePractice1/MyForm.aspx</Edit></FormUrls></XmlDocument></XmlDocuments></ContentType></Elements>

Also I noted that before I install VS2012 I had .Net 3.5.1 installed. After I installed VB2012 .Net 3.5.1 was gone and .Net 4.5 was installed.

Any help would be appreciated.

Thanks

Jack





Viewing all articles
Browse latest Browse all 11571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>