Blog

Blog posts on .NET, Azure, and more.

How to fix error The target "GatherAllFilesToPublish" does not exist in the project

June 24, 2013 by Anuraj

.Net ASP.Net Visual Studio

Today while publishing a web application I got a strange error like this from Visual Web Developer express.

How to pause / resume a thread in C#

June 16, 2013 by Anuraj

.Net ASP.Net Windows Forms

Here is the code snippet which will help you to pause / resume a thread using ManualResetEvent class. Both Suspend() and Resume() methods are deprecated in .Net Framework. So both of these methods not recommended to use.

Unexpected error encountered opening Visual Studio project

June 05, 2013 by Anuraj

.Net .Net 3.0 / 3.5 Version Control Visual Studio Windows Forms

Today while opening a win-form project, I got an exception message like this from Visual Studio.

Unit Testing Windows Phone Applications

May 06, 2013 by Anuraj

.Net CodeProject Unit Testing Visual Studio Windows Phone

Recently Microsoft released Update 2 for Visual Studio 2012. If you installed the Update 2, you will get a new project template, under Windows Phone, Windows Phone Unit Test App.

How to use existing Database in Windows Phone

May 04, 2013 by Anuraj

.Net .Net 3.0 / 3.5 CodeProject Windows Phone

Normally in Windows Phone apps, we used to create Database in the Application Launch event, like the following if (!dataContext.DatabaseExists()) { dataContext.CreateDatabase(); }

Copyright © 2024 Anuraj. Blog content licensed under the Creative Commons CC BY 2.5 | Unless otherwise stated or granted, code samples licensed under the MIT license. This is a personal blog. The opinions expressed here represent my own and not those of my employer. Powered by Jekyll. Hosted with ❤ by GitHub