Branching and merging in Git

Branching and Merging are very powerful features in Git. There are may branching strategies, my favorite is well explained at http://nvie.com/posts/a-successful-git-branching-model/ Pick any model you like and stick to it for a while to better understand and evaluate it. If you do not like that try another one. In this model when we start to …

Merging in Git with four panels in Windows

Git is a great repository for small and large projects. It is easy to create and merge branches to separate code for the features you work on. To make merging easier you can use a free 4 panel merging tool, Perforce P4Merge. Download Download the Perforce P4Merge Visual Merge Tool from https://www.perforce.com/downloads/integrations Select the operating …

How to delete a folder from Git, but not from the local disk

I have accidentally included a folder in my Git repository, that I don’t want to include in source control. I wanted to remove it from the Git index, but not from the local hard drive. The solution is the following command git rm -r –cached myFolder If the folder name contains spaces enclose it in …

Visual Studio 2015 is very slow on Windows 10

When I have upgraded Windows 7 my computer to Windows 10 I have also installed Visual Studio 2015 professional. From the first moment Visual Studio 2015 was very slow. My computer was freezing all the time. I have read many articles about the slowness of Visual Studio 2015, but I cold not find anything that …

NUnit in Visual Studio 2015

To use NUnit in Visual Studio 2015 Create a unit test project and download NUnit from NuGet Start Visual Studio 2015 and open or create a solution In your solution create a new class library for your unit tests Right click the unit test project and select Manage NuGet Packages Type NUnit into the search …

DynDns update error

On Windows 8 and Windows Server 2012 the Dyn Updater cannot update the IP address if you set the IPv-4 Configuration to Automatic during installation. The log contains the following error messages: daemon – WARNING – Unable to get IP addresses for …dyndns.org, will retry later. frontend – WARNING – API request failed. Status: 500 …

Value was either too large or too small for a UInt32 error message when checking files into TFS

When you try to check-in or shelve files in Microsoft Team Foundation Server (TFS) sometimes the following error message appears: Value was either too large or too small for a UInt32. Cause: There is an unsaved file in the IDE. Solution: Click Save All in the tool bar and try to check-in the files again.

No Entity Framework provider found for the ADO.NET provider with invariant name ‘System.Data.SqlClient’

When one of the projects in your solution is referencing the Entity Framework to access a database the Entity Framework NuGet package is added to that project. In the Visual Studio IDE your application may work fine, but when you deploy it to the test or production server the following error message may appear: Exception …

How to add a new table to an existing Microsoft SQL Server replication publication

To add a new table to an existing MS SQL Server publication Remote desktop into the database server, or a server in the same domain of the database server Start Microsoft SQL Server Management Studio (SSMS) Connect to the database with ComputerName\SQLServerName If there is only one instance of Microsoft SQL Server on the computer …

Error creating a Scheduled Task on Windows Server 2008 R2

When the “Run whether user is logged on or not”  option is selected in the General tab of the Create Task window the Task Scheduler has to save the password of the selected user. During the save the following error message appears: Task Scheduler An error has occurred for the task <task name>. Error message: …