Posts Tagged SharePoint
Workaround for unit testing code that reside in the GAC
Posted by Johan Leino in ALM, SharePoint on February 20, 2014
The problem I expressed my frustration the other day on twitter when it comes to unit testing and code that reside in GAC (global assembly cache). This problem may occur more often in frameworks that like to put their code in the GAC, like SharePoint for example. Let’s examine this with an example: Imagine the […]
Using a different master page for authenticated users in SharePoint
Posted by Johan Leino in SharePoint on October 20, 2011
So, let’s say you’re building a public facing internet site using SharePoint and you want to conditionally hide content from anonymous users viewing your site from the internet. Traditionally, you would use either a SPSecurityTrimmedControl or a LoginView. In this post I’m going to show you yet another way to accomplish sort of the same […]
SharePoint development is dead – long live SharePoint development
Posted by Johan Leino in Personal, SharePoint on June 17, 2010
Warning! This is one of those, and I think my first, philosophical posts. As I see it there are two types of SharePoint developers (OK, maybe not but…): The pure SharePoint developer that has worked with 2001-2003 and so on. The ones that have a background in some other “CMS” (I know SP is more […]
Using ROBOCOPY to copy files to the 12 hive
Posted by Johan Leino in SharePoint, Visual Studio on December 9, 2009
I ran into a bit of a problem today when trying to copy files from one folder to another. I wanted to copy all files in a folder structure except the .cs files (ie I wanted to exclude them). This can be done with XCOPY but I didn´t get it working (since I wanted to […]
Intellisense support for unity (and wss/moss) xml files
Posted by Johan Leino in Visual Studio on February 25, 2009
Andrew Connell has written about how to add intellisense support for when editing the SharePoint xml files. I have made an effort to include that support and also support for Unity config files. Firstly, a copy of the unity.xsd file is copied to “12/TEMPLATE/XML” and secondly I made an update to the custom catalog.xml file […]