Have you seen this? (most info is in the penultimate post)
/p:DefineConstants="MYSYMBOL1;MYSYMBOL2"
More Related Contents:
- Running MSBuild fails to read SDKToolsPath
- How to tell if a .NET application was compiled in DEBUG or RELEASE mode?
- Resolving MSB3247 – Found conflicts between different versions of the same dependent assembly
- Path to MSBuild
- NAnt or MSBuild, which one to choose and when?
- How do I override CopyLocal (Private) setting for references in .NET from MSBUILD
- Running Code Analysis (FxCop > 10) on build agent without installing Visual Studio
- .NET 4.0 build issues on CI server
- When should copy-local be set to true and when should it not?
- How can I auto increment the C# assembly version via our CI platform (Hudson)?
- “Register for COM Interop” vs “Make assembly COM visible”
- How to conditionally deploy an app.config based on build configuration?
- Found conflicts between different versions of the same dependent assembly that could not be resolved
- Xamarin On Windows C#
- ResourceDictionary in a separate assembly
- Access parent DataContext from DataTemplate
- What’s the difference between KeyDown and KeyPress in .NET?
- How do you configure WCF known types programmatically?
- Replacing the WPF entry point
- How to get COM Server for Excel written in VB.NET installed and registered in Automation Servers list?
- Overcome OS Imposed Windows Form Minimum Size Limit
- Microsoft Roslyn vs. CodeDom
- Alternatives to AutoMapper [closed]
- How to use XPath with XElement or LINQ?
- How to write an Excel workbook to a MemoryStream in .NET?
- Programmatically add trusted sites to Internet Explorer
- Does ODP.NET require Oracle Client installation
- The model backing the ‘ApplicationDbContext’ context has changed since the database was created
- How can I detect the type of a dll? (COM, .NET, WIN32)
- Does the .Net Framework 4.0 Installer include the .Net Framework 3.5?