I write here all of my experiences from my Projects in SharePoint, .Net, ALM, VSTS ,Azure and Web Development like Angular and NodeJs
Freitag, 10. August 2012
The type or namespace name ‘LayoutsPageBase’ does not exist
After creating an empty SharePoint 2010 solution in Visual Studio 2010 I added an Application Page to the project but compiling failed and gave me the following error:
The type or namespace name 'LayoutsPageBase' does not exist in the namespace 'Microsoft.SharePoint.WebControls' (are you missing an assembly reference?)
The reason for this was quite simple when I created the SharePoint Project I had chosen to deploy it as a Sandbox Solution and application pages are not supported in sandboxed solutions. Selecting the project properties and changing the Sandboxed Solution property to False and it compiled successfully.
Abonnieren
Kommentare zum Post (Atom)
The content type is part of an application feature
Recently I had the problem in a production environment that after the deactivation of a feature I was not able to delete the content ty...
-
You can use WinImage to convert any *.vhd file to * .vmdk You can downlowd WinImage from here. After you installed WinImage. Go to follo...
-
Install-SPSolution: Admin SVC must be running in order to create deployment timer job When I was trying to deploy the SharePoint 2010 WS...
-
Recently I had the problem in a production environment that after the deactivation of a feature I was not able to delete the content ty...
Keine Kommentare:
Kommentar veröffentlichen