I am trying to make a custom aspx page that has code behind and ive been following this blog http://www.andrewconnell.com/blog/articles/UsingCodeBehindFilesInSharePointSites.aspx
I can get the wsp solution installed, the feature shows up, and I can activate the feature on sites.
My problem is that I can't find the custom page anywhere. I would like the page to be installed on a specific site.
Can anyone see what my settings problems might be?
This is what I have for my xml files.
Elements.xml
<?xml version="1.0" encoding="utf-8" ?>
<
Elements xmlns="http://schemas.microsoft.com/sharepoint/"><!-- Create a new page 'CodeBehindDemo' in a WSS site based off the aspx page -->
<
Module Url="Testing06"><File Url="testpage94.aspx" Name="CodeBehindDemo.aspx" Type="Ghostable">
</
File></Module>
</
Elements>
feature.xml
<?xml version="1.0" encoding="utf-8" ?>
<
Feature xmlns="http://schemas.microsoft.com/sharepoint/"
Id="EB88DE77-EE69-4686-8227-925B84114B1B"
Title="SharepointFeatureTest"
Description="Test of how to install code behind pages"
Scope="Web"
Hidden="False"Version="1.0.0.0">
<
ElementManifests><ElementManifest Location="elements.xml"/>
<
ElementFile Location="testpage94.aspx" /></ElementManifests>
</
Feature>
Manifest.xml
<?xml version="1.0" encoding="utf-8" ?>
<
Solution SolutionId="{7EC8CB1D-8369-4406-9363-B8FF5B5483AA}" xmlns="http://schemas.microsoft.com/sharepoint/" DeploymentServerType="WebFrontEnd"><!-- List all features included in this solution -->
<
FeatureManifests><FeatureManifest Location="sharepointtest\feature.xml"/></FeatureManifests>
<!--
add all files pertaining to the feature --><Resources>
<!-- add element manifest file --><Resource Location="sharepointtest\Elements.xml"/>
<!--
Add Pages --><Resource Location="sharepointtest\testpage94.aspx"/><Resource Location="sharepointtest\testpage94.aspx.vb"/>
</
Resources>
</
Solution>