views:

43

answers:

2

Hi,

On a C#/asp.net (VS 2008) project I've just changed a signature of a method that is used in a lot of files in the "code in front".

The problem is that the compiler does not add errors to the "Error List" panel with the location of the method calls on the .ascx or .aspx files.

I now have to manually search/check each and every file to see if the method exist in there, which is not the easiest task.

Is there a workaround?

+2  A: 

Find in Project :)

JoshJordan
+2  A: 

This article should show you how to invoke the ASP.NET compiler from Visual Studio as part of your build process. This will show the errors you want to see at compile-time.

Programming Hero
Thanks a lot! Exactly what I was looking for.
pablo