More on Conditional Compilation in ASP.NET

Posted by: K. Scott Allen, on 25 Sep 2007 | View original | Bookmarked: 0 time(s)

Phil dug up an old post of mine on conditional compilation, but defining a constant in web.config didn't appear to work for him. I didn't see anything wrong with his approach, so I downloaded the solution and did some spelunking. With this page ... <%@ Page Language="C#"      CompilerOptions="/d:QUUX" %> ...     <div>        <% #if BAZ %>          BAZ...

Advertisement
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: ASP.NET | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 672 | Hits: 53

Similar Posts

  • Adding Syntactic Sugar to the Spark View Engine more
  • CodeRush Xpress Released Today! (Lisa Feigenbaum) more
  • PoolingAgent and AtomPubClient in the WCF Rest Starter kit preview 2 more
  • Leveraging ILMerge to simplify deployment and your users experience more
  • Free Coding Assistance Add-in for Visual Studio Developers more
  • Emacs regex to grok csc compilation errors more
  • SPSecurityTrimmedControl more
  • Implicit line continuations more
  • Performance Quiz #13 -- Linq to SQL compiled query cost -- solution more
  • DebuggerTypeProxy Proxy Class is Compiled into Release Build more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD