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:
WroxSPProject_feature1
>SImpleWebpart
Feature
>>Elements
SimpleWebPart.webpart
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:
Code:
<?xml version="1.0" encoding="utf-8" ?>
<Feature xmlns="http://schemas.microsoft.com/sharepoint/">
</Feature>
The book says it's supposed to be:
Code:
<?xml version="1.0" encoding="utf-8" ?>
<Feature xmlns="http://schemas.microsoft.com/sharepoint/">
Id="e9577309-(long guid)-6b17916f2bfd" Scope="Site"
Title="WroxSPProject Feature1">
<ElementManifests>
<ElementManifest Location="SimpleWebPart\Elements.xml" />
<ElementFile Location="SimpleWebPart\SimpleWebPart.webpart" />
</ElementManifests>
</Feature>
Am I missing something here?