New answers tagged aspx
When you deploy a web part in SharePoint, you provide it a type and assembly in an xml file that registers the web part in SharePoint. Look at this: Web Part Deployment In the .webpart file you'll see the line <type name="ExecutionModels.Sandboxed.AggregateView.AggregateView, $SharePoint.Project.AssemblyFullName$" /> If you're rebuilding the ...
from my basic understanding a private key would be used when you have a webpart that its dll will be within the GAC (assembly folder) as they need to be strongly named to be within that folder! The fact that you have rebuilt the project and added it back into the gac means your key is fine as you wouldnt of been able to add it as the wsp would of failed ...
I believe you just need to change the GUID value for the 'ListId' field (in your code example, it is currently set to AEB087E7-DA21-4DA8-BB9A-9073382B3ED4) to match the list which you are trying to add items to. You can get this GUID by going into SharePoint Designer, selecting the list you are trying to add to, and copying its List Id on the properties ...
Top 50 recent answers are included