Fix regression for asp.net website (with solution) when using the project setting.