Month: October 2006

VS2005 Post Build Events: adding an assembly to the GAC

No Picture

An assembly must be strongly named before it can be added to the GAC. The correct way to do this in visual studio 2005 is specify the path to a strong name key file (snk file – generated…

Read More »

Quicknote: Listing Groups

No Picture

Just a quick note as i have previously done by other means – to get all of the groups you belong to, simple run whoami /groups on the command line

Read More »

SharePoint 2007: Writing a web control library for use in a masterpage

No Picture

In visual studio 2005, create a new web control library project and code controls as required Ensure that the project / assembly is strongly named. (from the menu Project -> <projectname> Properties -> Signing) Compile you project into…

Read More »

SharePoint 2007: Writing a webpart

No Picture

Quick summary how to create a webpart for SharePoint 2007… In visual studio 2005, create a new class library project (example code follows) Add a reference to the System.Web namespace (right-click references in the solution explorer and click…

Read More »