<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Passing a preprocessor directive to MSBUILD via the command line instead of #DEFINE in code</title><link>http://blogs.msdn.com/karstenj/archive/2005/06/28/passing-a-preprocessor-directive-to-msbuild-via-the-command-line-instead-of-define-in-code.aspx</link><description>I recently wanted to pass a preprocessor directive (as in affecting /define in csc.exe) to MSBUILD on the commandline instead of using #DEFINE/#UNDEF in the source code or modifying the configuration properties in VS. (After all, isn't that the idea of</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Conditional Compile based on .net framework version</title><link>http://blogs.msdn.com/karstenj/archive/2005/06/28/passing-a-preprocessor-directive-to-msbuild-via-the-command-line-instead-of-define-in-code.aspx#8510906</link><pubDate>Fri, 16 May 2008 06:54:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8510906</guid><dc:creator>Rob's Blog</dc:creator><description>&lt;p&gt;Conditional Compile based on .net framework version&lt;/p&gt;
</description></item></channel></rss>