How to return all aspnet_compiler errors (not just those in first directory)
        Posted  
        
            by Dan Atkinson
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Dan Atkinson
        
        
        
        Published on 2010-05-26T15:42:05Z
        Indexed on 
            2010/05/26
            16:11 UTC
        
        
        Read the original article
        Hit count: 365
        
asp.net-mvc
|aspnet-compiler
Hi there!
Is there a way to get the aspnet_compiler to go through all views and return all errors, rather than just the errors in the current view directory?
For example, lets say I have a project that has a bunch of folders...
- Views- Folder1
- Folder2
- Folder3
- Folder4
 
Two of them (Folder2 and Folder3) have errors. aspnet_compiler will run, and only return the errors it comes across in Folder2. It won't return those in Folder3 at the same time. Once I fix the errors in Folder2 and run it again, it'll then pick up the ones in the Folder3. I fix those. And then have to run the tool again, and again until it's all fixed.
This is getting annoying!!
For reference, here's the command I use:
C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_compiler -v / -p "C:\path\to\project"
Thanks in advance!
© Stack Overflow or respective owner