Showing all posts tagged: 'Visual Studio'

A 7-post collection

OzCode - my favourite Visual Studio tool

If you've never seen OzCode in action, then brace yourselves for the most awesome tool in Visual Studio. Yes, even more awesome than Resharper and everything else you have to throw at me. What is OzCode? OzCode is a debugging tool that you install as an extension and it can totally transform the way you debug and work with your code within Visual Studio. It overtakes from the built-in debugger to give you so many more features to simplify your work and allow you to focus on what really matters, fixing the problem. As developers, we spend most of our …[read more]

Disabling NuGet Package Restore

Yes, this is counterproductive and a step backwards, but if you are working in an environment where your build/CI server doesn't allow NuGet Package restore then you will need to disable it. This may sound straightforward and something that should be easily supported by NuGet, but I'm afraid you are out of luck. To disable NuGet package restores, you will need to perform some manual changes to your .csproj files To fully remove package restore just follow the steps below: 1. Close down the solution Before performing any project file changes, you will need to close down the solution …[read more]

Using NCrunch to enhance your tests in Visual Studio

I have recently come across nCrunch during a code demo. nCrunch is an automated, concurrent testing tool for Visual Studio and I have to say that I am pretty impressed with this ‘little’ piece of software. nCrunch is an 3rd party tool that allows you to continuously run tests as you write them. Actually, the tests are run every time you change any part of your code that is being monitored by nCrunch and may have an impact on your tests. The tool is responsible for building and running tests as it sees fit. Installation was easy and painless. As …[read more]

Configuring Visual Studio 2012 to work with the Xamarin framework and PCLs

If you want to do cross development using Xamarin and Visual studio, you need to install the Xamarin tools for Visual Studio. This will allow you to create solutions that target one or multiple platforms using the magic of MVVM (Model - View - ViewModel) and PCLs (Portable Class Libraries). The Visual Studio installer can be acquired here. The download is over 1.2Gb so it may take some time depending on your connection. The installation is fairly quick and painless with only a few steps to follow on the wizard. Once the installation is complete, you can start working …[read more]

Resolving RDLC error: “The report definition is not valid” in Visual Studio 2012

I recently inherited a large number of Microsoft RDLC reports where I had to fix a number of issues before the upcoming release. One of my first tasks was to write a quick “RDLC runner” console application to allow me to test the reports locally. You can download the RDLC Runner from NuGet here. Or run the following command on the NuGet Command window in Visual Studio: The RDLC Runner is a very simple .NET 4.5 project. It takes two XML input files (parameters and data), the path to the .rdlc file and the name of the output file. …[read more]

Deleting a project from Hosted TFS

I added a project to the wrong TFS collection! Now what? Removed all the bindings from my solution but the TFS service now points to an orphaned entry. Unfortunately, up to this day, the TFS team have not been kind enough to supply us with a GUI tool that can delete a project from the repository and clear all references to it. Google to the rescue. After spending several minutes looking around, the answer to this issue became apparent. The documentation is incorrect. So these are the steps required in order to delete a project from TFS. Remove all bindings …[read more]