This problem is related to the Visual Studio project settings.
Please do the following:
1. Right click on <Protocol>project in the Visual Studio Solution Explorer and select Properties.
2. In the <Protocol>Property Pages window go to Linker->General.
3. Now set the value of Enable Incremental Linker to "No (/INCREMENTAL:NO) by using the drop down list of options.
4. Click on Apply and then on Ok.
5. Now rebuild the <Protocol>project.