Posts

Showing posts from April, 2014

Super-Quick: Host a simple web page through GitHub pages

There are instructions out there , but it still took me a couple of attempts to get it right. Here's the super-duper-happy-path ( Expression © NancyFX ;-) ): Create a GitHub Account Create a public repository named your_username .github.io (pick .gitignore and license as it suits you). Create a file called CNAME containing the hostname you will publish under ( example ).  Create a file called index.html  containing your web page. Sign up for a DNS provider: I use DNSimple (referral link). Fiddle with DNS Records automatically (highly recommended) or manually (I never got this right ...): Automatically: Add the GitHub Pages service from DNSimple Manually: Create a CNAME record from  (empty (nada, silch))  to  your_username .github.io Have fun!

NCrunch and PostSharp

They're both great tools, but today, I had to separate them, seeing as they were unable to get along! I kid, I kid... I did get a build error through NCrunch, however, saying The "PostSharp.MSBuild.PostSharp20GetCurrentProjectDirectory" task could not be loaded from the assembly ... To get around this issue, I right-clicked the failing project in the NCrunch Tests window, selected Configure Selected Component , causing NCrunch Configuration window to show. There, I clicked the Additional files to include button and added the directory in which I had my PostSharp .dll files. Et voilà, things were looking great again! (Thank you, Remco for the handy forum post , leading me to the solution!)