Wrox Programmer Forums
BOOK: Beginning SharePoint 2010 Development
This is the forum to discuss the Wrox book Beginning SharePoint 2010 Development by Steve Fox; ISBN: 978-0-470-58463-7
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning SharePoint 2010 Development section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old March 5th, 2011, 06:43 PM
Authorized User
Join Date: Dec 2010
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default Feature.xml Page 108 CH 3

I've deployed my project and now I'm a little lost.
It says "A new folder is created in the Features directory" and it shows a folder structure of:


Either I can't find this folder structure or it's organized differently on my computer.

I have C:/users/administrator/mydocuments/VisualStudio2010/Projects/WroxSPProject/WroxSPProject/Features/Feature1/ and in here I have Feature1.Feature and Feature1.Template.xml

In C:/users/administrator/mydocuments/VisualStudio2010/Projects/WroxSPProject/WroxSPProject/SimpleWebPart I have the Elements File and the SimpleWebPart.webpart.

So basically in the book The SImpleWebPart Folder is supposed to be in the Feature folder and on my computer they're 2 separate folders. Is this the same for anyone else?

The other problem is, assuming I have the right file, I don't have the feature.xml file, I have feature.templates.xml instead, which has the following code:

<?xml version="1.0" encoding="utf-8" ?>
<Feature xmlns="http://schemas.microsoft.com/sharepoint/">
The book says it's supposed to be:

<?xml version="1.0" encoding="utf-8" ?>
<Feature xmlns="http://schemas.microsoft.com/sharepoint/">
     Id="e9577309-(long guid)-6b17916f2bfd" Scope="Site"
     Title="WroxSPProject Feature1">
     <ElementManifest Location="SimpleWebPart\Elements.xml"  />
     <ElementFile Location="SimpleWebPart\SimpleWebPart.webpart" />
Am I missing something here?
Old November 3rd, 2011, 10:00 AM
Registered User
Join Date: Oct 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy Same problem


I have exactly the same issues!

No matter how much I build or deploy, the feature directory is never pulled in.

Also, when I do finally add my web part, I get an unhandled exception error.

Did anyone manage to fix this?

I thing there is something wrong with my SharePoint or VisualStudio setup.

With the XML Control in the WikiWebPart exercise my WikiWebPart was missing and now I'm missing more stuff..

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't Get Ch 3 Example to Create ServiceB.Config.xml GeorgeMo BOOK: Professional Microsoft Robotics Studio ISBN: 978-0-470-14107-6 4 December 13th, 2010 02:12 AM
ch 3 page 58 Devus BOOK: Beginning C# 3.0 : An Introduction to Object Oriented Programming ISBN: 978-0-470-26129-3 1 March 3rd, 2010 11:34 AM
where is the "validator-rules.xml" in ch-19? satanest BOOK: Beginning JavaServer Pages 0 August 10th, 2008 01:19 AM
CH 5 Page 153 zamankazi BOOK: ASP.NET Website Programming Problem-Design-Solution 8 November 4th, 2004 08:38 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.