Debug code in <% tags

C

CMoya

I can't seem to find an answer for this. VS2008, Web Application Project
ASPX files seem to only be compiled when you hit them... even when you're
debugging. Is there a way when debugging in the IDE to have them compiled
when you run the project so that you can catch compile time errors?
 
A

Anthony Jones

CMoya said:
I can't seem to find an answer for this. VS2008, Web Application Project
ASPX files seem to only be compiled when you hit them... even when you're
debugging. Is there a way when debugging in the IDE to have them compiled
when you run the project so that you can catch compile time errors?

Open project property pages. Select Build in the Left hand list.

Change setting of Start action (F5) to do build the whole web site.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,772
Messages
2,569,593
Members
45,104
Latest member
LesliVqm09
Top