Don’t build your solutions in Visual Studio

The solutions in the project I’m working on are quite big and can easily take up 30 to 90 seconds to build, even though we have rather fast laptops. This is probably because of some build-plugins we are forced to use and the tight SharePoint integration of those plugins. Nevertheless, it’s quite annoying to see Visual Studio ‘hang’ every time you build your solution. Last week I had some time on my hands to do some research on how we could improve these long builds. Read more →

Get your references when pulling a project via NuGet

Because of a failing hard drive I had to re-install my Windows installation, including cloning all of my BitBucket repositories back to my projects folder. Getting all the solutions back on the local development machine is very easy, but after opening, I discovered they couldn’t be build anymore. The reason for this: several references were missing. This wasn’t that strange at all, because these references were libraries pulled pulled down via NuGet and not pushed into the repository. Read more →

SharePoint 2007 development in Visual Studio 2010

Aan mij was de taak om een applicatie te schrijven welke informatie van SharePoint (Wiki sites) website kon wegschrijven naar HTML bestanden met een bepaalde opmaak. Niks aan de hand, ware het niet dat ik op m’n Windows 2008 VM zowel MOSS 2007 als Visual Studio 2010 had geinstalleerd. Bij het toevoegen van de benodigde references kwam ik er ineens achter dat ik de SharePoint 2007 DLL’s niet kon vinden in de lijst. Read more →

Public key token in Visual Studio

Onlangs liep ik weer tegen het probleem aan dat ik de PublicKeyToken van m’n gegenereerde assembly moest zien te vinden. Er zijn natuurlijk verschillende mogelijkheden om hier achter te komen, maar de mooiste is toch wel de tip van Jeremia Clark. Op z’n weblog heeft hij beschreven hoe hij de token krijgt door middel van het aanmaken van een nieuw External Tools commando, de link: https://blogs.msdn.com/b/miah/archive/2008/02/19/visual-studio-tip-get-public-key-token-for-a-stong-named-assembly.aspx Het is dus de bedoeling om een nieuw commando te maken welke sn. Read more →

VS2010b2 IntelliSense probleem

Ik had in VS2010b2 een probleem dat er bij javascript geen IntelliSense verscheen. Na het melden van deze bug bij MS Connect hebben ze het geregistreerd en met een tijdelijke workaround gekomen. Wat blijkt, als je de target wijzigt in bijvoorbeeld XHTML1.1 krijg je gelijk IntelliSense die je wilt. Wat ook wordt aangeraden is om al je settings te resetten. Op zich kan dat wel natuurlijk, maar dat is niet echt ideaal. Read more →