Notes on Software development technologies including ASP.NET, MVC, TFS, jQuery, TeamCity, TDD, NUnit, SQL Server, EF, NHibernate
Mercurial - Branches & Remote Repositories
I often find myself referring back to a text file full of commands that i keep on Mercurial when performing ‘non daily’ stuff like branching and merging.…
Output path property not set - TFS Build Warning
Came across an odd situation while setting up Continuous Integration for a solution in TFS today. Each build would pass, but none of the unit tests were being run. On inspection of the log it turns out a warning was being generated…
Dont forget to manually delete your bin directory after changing namespaces in an asp.net project
If you change the default application name on the web tab of the project properties in your asp.net project, and you have previously compiled your project, you may find some strange errors stand in your path when you go to run your project. This is because the dll names that the build outputs in your bin directory have changed, and when you go to run your application, asp.net sees both sets – the old and the new, and loads them both. Cleaning your solution will not rectify the issue because as far as asp.net is concerned, they are not an output of the build, so it respects the fact that you may have put them there manually (but you wouldn't do that in a web application project anyway, right?). Just delete the old dlls (and pdb if its there) and you are good to go. This happened to me in an asp.net mvc project and it complained that my routes already existed.
How to fix the "Unable to find the requested .Net Framework Data Provider. It may not be installed" error
This usually means that a provider specified in one of your web.config connection strings is not installed on your machine.
Giving the App Pool Identity folder permissions in IIS7 on Windows Server 2008 (First Release)
When setting up a new Application Pool in IIS7 the default user (or identity) is ApplicationPoolIdentity which is a specific user account with minimal rights, created specifically for that application pool to run under the context of that user.