diff options
author | Michael Hutchinson <mhutch@xamarin.com> | 2014-01-09 02:29:37 +0400 |
---|---|---|
committer | Michael Hutchinson <mhutch@xamarin.com> | 2014-01-09 10:41:50 +0400 |
commit | d37307d7b04b694caf7e26367cfeaf4083879c85 (patch) | |
tree | 70348c4a7b28bafee4125f73a57bc5cf82c19522 /main/src/core/MonoDevelop.Projects.Formats.MSBuild | |
parent | fe23cb67d8fb05a9403b59f5a4ee4b2531589e6a (diff) |
[MSBuild] Add version defines for builders
Diffstat (limited to 'main/src/core/MonoDevelop.Projects.Formats.MSBuild')
5 files changed, 10 insertions, 5 deletions
diff --git a/main/src/core/MonoDevelop.Projects.Formats.MSBuild/MonoDevelop.Projects.Formats.MSBuild.csproj b/main/src/core/MonoDevelop.Projects.Formats.MSBuild/MonoDevelop.Projects.Formats.MSBuild.csproj index 99d819bf2e..d6b34aecfd 100644 --- a/main/src/core/MonoDevelop.Projects.Formats.MSBuild/MonoDevelop.Projects.Formats.MSBuild.csproj +++ b/main/src/core/MonoDevelop.Projects.Formats.MSBuild/MonoDevelop.Projects.Formats.MSBuild.csproj @@ -15,7 +15,7 @@ <DebugType>full</DebugType> <Optimize>False</Optimize> <OutputPath>..\..\..\build\bin</OutputPath> - <DefineConstants>DEBUG</DefineConstants> + <DefineConstants>DEBUG,NET_3_5,NET_4_0</DefineConstants> <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> <PlatformTarget>x86</PlatformTarget> @@ -32,6 +32,7 @@ <DebugSymbols>true</DebugSymbols> <NoWarn>1591;1573</NoWarn> <DocumentationFile>..\..\..\build\bin\MonoDevelop.Projects.Formats.MSBuild.xml</DocumentationFile> + <DefineConstants>NET_3_5,NET_4_0</DefineConstants> </PropertyGroup> <ItemGroup> <Reference Include="System" /> diff --git a/main/src/core/MonoDevelop.Projects.Formats.MSBuild/MonoDevelop.Projects.Formats.MSBuild.dotnet.v12.0.csproj b/main/src/core/MonoDevelop.Projects.Formats.MSBuild/MonoDevelop.Projects.Formats.MSBuild.dotnet.v12.0.csproj index 09dfaf329e..4a84af7c75 100644 --- a/main/src/core/MonoDevelop.Projects.Formats.MSBuild/MonoDevelop.Projects.Formats.MSBuild.dotnet.v12.0.csproj +++ b/main/src/core/MonoDevelop.Projects.Formats.MSBuild/MonoDevelop.Projects.Formats.MSBuild.dotnet.v12.0.csproj @@ -16,7 +16,7 @@ <DebugType>full</DebugType> <Optimize>False</Optimize> <OutputPath>..\..\..\build\bin\MSBuild\dotnet.12.0</OutputPath> - <DefineConstants>DEBUG</DefineConstants> + <DefineConstants>DEBUG,NET_3_5,NET_4_0,MSBUILD_12</DefineConstants> <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> <PlatformTarget>x86</PlatformTarget> @@ -31,6 +31,7 @@ <PlatformTarget>x86</PlatformTarget> <DebugSymbols>true</DebugSymbols> <NoWarn>1591;1573</NoWarn> + <DefineConstants>NET_3_5,NET_4_0,MSBUILD_12</DefineConstants> </PropertyGroup> <ItemGroup> <Reference Include="System" /> diff --git a/main/src/core/MonoDevelop.Projects.Formats.MSBuild/MonoDevelop.Projects.Formats.MSBuild.dotnet.v4.0.csproj b/main/src/core/MonoDevelop.Projects.Formats.MSBuild/MonoDevelop.Projects.Formats.MSBuild.dotnet.v4.0.csproj index 1718264fb7..468804904d 100644 --- a/main/src/core/MonoDevelop.Projects.Formats.MSBuild/MonoDevelop.Projects.Formats.MSBuild.dotnet.v4.0.csproj +++ b/main/src/core/MonoDevelop.Projects.Formats.MSBuild/MonoDevelop.Projects.Formats.MSBuild.dotnet.v4.0.csproj @@ -16,7 +16,7 @@ <DebugType>full</DebugType> <Optimize>False</Optimize> <OutputPath>..\..\..\build\bin\MSBuild\dotnet.4.0</OutputPath> - <DefineConstants>DEBUG</DefineConstants> + <DefineConstants>DEBUG,NET_3_5,NET_4_0</DefineConstants> <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> <PlatformTarget>x86</PlatformTarget> @@ -31,6 +31,7 @@ <PlatformTarget>x86</PlatformTarget> <DebugSymbols>true</DebugSymbols> <NoWarn>1591;1573</NoWarn> + <DefineConstants>NET_3_5,NET_4_0</DefineConstants> </PropertyGroup> <ItemGroup> <Reference Include="System" /> diff --git a/main/src/core/MonoDevelop.Projects.Formats.MSBuild/MonoDevelop.Projects.Formats.MSBuild.v3.5.csproj b/main/src/core/MonoDevelop.Projects.Formats.MSBuild/MonoDevelop.Projects.Formats.MSBuild.v3.5.csproj index 28f7e0ae49..37da33a83d 100644 --- a/main/src/core/MonoDevelop.Projects.Formats.MSBuild/MonoDevelop.Projects.Formats.MSBuild.v3.5.csproj +++ b/main/src/core/MonoDevelop.Projects.Formats.MSBuild/MonoDevelop.Projects.Formats.MSBuild.v3.5.csproj @@ -17,7 +17,7 @@ <DebugType>full</DebugType> <Optimize>False</Optimize> <OutputPath>..\..\..\build\bin\MSBuild\3.5</OutputPath> - <DefineConstants>DEBUG</DefineConstants> + <DefineConstants>DEBUG,NET_3_5</DefineConstants> <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> <PlatformTarget>x86</PlatformTarget> @@ -32,6 +32,7 @@ <PlatformTarget>x86</PlatformTarget> <DebugSymbols>true</DebugSymbols> <NoWarn>1591;1573</NoWarn> + <DefineConstants>NET_3_5</DefineConstants> </PropertyGroup> <ItemGroup> <Reference Include="System"> diff --git a/main/src/core/MonoDevelop.Projects.Formats.MSBuild/MonoDevelop.Projects.Formats.MSBuild.v4.0.csproj b/main/src/core/MonoDevelop.Projects.Formats.MSBuild/MonoDevelop.Projects.Formats.MSBuild.v4.0.csproj index ef880a9f07..4fc4183e24 100644 --- a/main/src/core/MonoDevelop.Projects.Formats.MSBuild/MonoDevelop.Projects.Formats.MSBuild.v4.0.csproj +++ b/main/src/core/MonoDevelop.Projects.Formats.MSBuild/MonoDevelop.Projects.Formats.MSBuild.v4.0.csproj @@ -15,7 +15,7 @@ <DebugType>full</DebugType> <Optimize>False</Optimize> <OutputPath>..\..\..\build\bin\MSBuild\4.0</OutputPath> - <DefineConstants>DEBUG</DefineConstants> + <DefineConstants>DEBUG,NET_3_5,NET_4_0</DefineConstants> <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> <PlatformTarget>x86</PlatformTarget> @@ -30,6 +30,7 @@ <PlatformTarget>x86</PlatformTarget> <DebugSymbols>true</DebugSymbols> <NoWarn>1591;1573</NoWarn> + <DefineConstants>NET_3_5,NET_4_0</DefineConstants> </PropertyGroup> <ItemGroup> <Reference Include="System" /> |