Today while opening a win-form project, I got an exception message like this from Visual Studio. And then the Visual Studio project was not available in the solution. All the project said was “The project file cannot be loaded.” This error is because the project was under Subversion version control, and I don’t have Subversion [...]
Posts Tagged: Visual Studio
Unit Testing Windows Phone Applications
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. This will help you to create unit test project for Windows Phone 8 applications. Once you create the project, necessary references will be added to [...]
How to install NuGet packages directly
If you are developing applications using VS 2010 Express editions, you will miss the Package Manager console, which helps us to install libraries or packages via NuGet. The Nuget package manager console is not integrated to VS 2010 Express editions.(Visual Web Developer Express is an exception, it has a package manager console integration). To overcome [...]
How to exclude test assembly from code coverage in VS 2012
If you are using VS 2012, by default Code coverage results are available for Test assembly also. There is no direct way to disable this behavior, either you need to use the ExcludeFromCodeCoverage attribute or you need to use the runsettings file. The ExcludeFromCodeCoverage is pretty straight forward; you need to decorate all the unit [...]
Extract to User Control feature in Visual Studio 2012
The Visual Studio 2012 comes with a nice feature allows web developers to refactor aspx markup into user controls, called Extract to User Control, this feature is available in context menu. To use this feature, simply highlight the bits and pieces to extract and then right-click and click Extract to User Control. Which will display [...]
Continuous integration using TFS 2012 express edition – Creating Build definition
This post is about creating build definition. Build definition play a key role in continuous integration. Each build definition contains instructions about which code projects to compile, what action should trigger a build, what builds should be retained, and where build output should be copied. To create build definition, Select the Builds menu item from [...]