Search code examples
c#asp.netvisual-studio-2008web-deployment-project

Web Deployment Project does not warn of errors in ASPX files


I want to compile my ASPX pages so that if there is a bug in them it will tell me to fix it. Traditionally Visual Studio only compiles the code behind so I found recommendations to use Web Deployment Project.

I have done that but it builds successfully even though I have set a string value to an int member.

I expected it to error but nothing. Am I using the Web Deplyment Project the wrong way?


Solution

  • Take a look at this question already on StackOverFlow>

    How can I compile Asp.Net Aspx Pages before loading them with a webserver?