Google PlusFacebookTwitter

Trying out NDepend

By on Sep 2, 2016 in Development, Statistics, Tooling, Tools | 0 comments

What is this? I got the chance to try out NDepend, although with everything else, it took me quite some time until I finally got around to picking it up. Now NDepend is a tool, both command line, stand alone and as an addin to Visual Studio which allows you to do static analysis and reporting on your .Net projects. It uses a Linq based paradigm to build rules around the code metadata it reads from the solution making it incredibly versatile in terms of extending and customizing. In this blog post I’ll take you through my initial 2-3h user journey in trying out the tool. Installation After writing a few installers myself using both the old fashion visual studio included tools and lately using Wix I can appreciate that the NDepend team didn’t waste time trying to do this. NDepend simply comes as a zip file which contents you drop in a folder, completely fine and it’s a...

Jenkins with Visual Studio Online

By on Nov 30, 2015 in Development, Environment, Tooling, Tools | 0 comments

On my current project we’re using Jenkins as a CI platform and Visual Studio Online with TFS for source control. I’ve been wanting to setup the builds on our intranet again to run the integration tests relying on intranet access each check-in. I had an issue with this, as I did last time I tried it and figured I need to retain this information somewhere. If you are doing this with using Git you’ve come to the wrong place though, Microsoft has a great article about that themselves. This is the error I ended up getting: FATAL: com.microsoft.tfs.core.exceptions.TECoreException: The SOAP endpoint https://infuse.visualstudio.com/Services/v1.0/Registration.asmx could not be contacted. HTTP status: 404 java.lang.RuntimeException: com.microsoft.tfs.core.exceptions.TECoreException: The SOAP endpoint https://infuse.visualstudio.com/Services/v1.0/Registration.asmx could not be...

Alias for windows command line

By on Sep 7, 2014 in Automation, Development, Environment, Tooling, Tools | 0 comments

When working with git and node js you end up using the command line quite a lot. As a Windows grown developer this is kind of a strange sensation really, you quickly start to appreciate why those Linux guys constantly advocated the bash and you also understand why they didn’t move over to windows. The windows command line leaves a lot to wish for and if you try to do the simplest things you’ll have to fight long and hard to get there. Anyway, I wanted to open some files for editing from the command line and I want to open them using Sublime. I could add the Sublime directory to my path variable and open it using sublime_text, this feels quite naff to be honest and I came across some posts saying ”just alias it”. What’s that I wonder, hmm.. okay only available for OS X/Linux, darn. I’ll just have to create an alias for Windows then. This here batch...

My path registered EXE where art thou?

By on Aug 10, 2014 in Deployment, Development, General, Tooling, Tools | 0 comments

There’s always that time when you set up a new environment and want to get to that file registered in %PATH%, like msbuild in the developers console or something. You Google or dir /s and eventually find that files but always wonder, is there not an easier way? ‘course there is: Shell C:where cmd C:WindowsSystem32cmd.exe 12 C:where cmdC:WindowsSystem32cmd.exe Splendid, isn’t it, no more hunting for those nicely registered...

Keeping it clean

By on Jul 15, 2014 in Clean code, Development, Tooling, Tools | 0 comments

I got around to some cleaning today removing all our project warnings, yes you know which I mean, those nasty yellow things in the bottom of your Visual Studio screen every time you build. The ones we shrug at and say ”well, they’re just warnings” 🙂 I got most of them since they were really easy issues but at one point I actually wanted the ”fault” to be implemented that way. We had a design time view model implementing the base interface which had an INotifyPropertyChanged interface (I could possible have moved this interface down a level to not get it on the design time view model but in some situations that might not be feasible). So, it would look something like this: Shell Warning 7 The event '....DesignTimeCreateProjectViewModel.PropertyChanged' is never used ...DesignTimeDesignTimeCreateProjectViewModel.cs 19 50 1 Warning 7 The event...

VMWare problems with keyboard and mouse capture

By on Jul 15, 2014 in Development, General, Testing, Tooling, Tools | 0 comments

We’re using a nice vSphere ESXi 5.1 host for a lot of our VMs at work and today I found myself unable to get proper mouse and keyboard capture in the VMs. It just acted really strange, sometimes I could get mouse capture when I was outside the VM and as soon as I pressed any key I lost it again. I tried installing VMWare Workstation, rebooting both VMs and local computer but nothing helped. I finally tracked it down to being Synergy, the awesome tool for keyboard and mouse sharing across TCP/IP. Apparently it was running in the background without me knowing and interupted the signals. I took me a long time to find any post relating to this issue since there are a lot of other reasons for losing capture in the VMs. Because of this I figured the hive mind of the www needed another short post about it. Apparently it’s even been noted as an issue in...