Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan McGovern <alan@xamarin.com>2013-04-11 19:16:12 +0400
committerAlan McGovern <alan@xamarin.com>2013-04-11 20:03:02 +0400
commit89b63e9cc55ac66e57caa2a20bbb0f95424339a5 (patch)
tree978f6a26ffd574debed1fa5477c7d5d0bbf77d49 /main/src/core/MonoDevelop.Projects.Formats.MSBuild
parent2381d73780b84ef97e63194dba56d5ba7e494e3c (diff)
[MSBuild] Put all our builders in an isolated directory
We cannot run our builder executables from a directory which contains other assemblies as the standard assembly resolution rules mean that we would end up loading MonoDevelops private copies of some binaries instead of the copies bundled with libraries implementing msbuild tasks. For example if there is a custom msbuild dll which defines some tasks used by the build process, and that dll references Mono.Cecil.dll and supplies it's own copy of that library, we need to load *that* one and not the one in monodevelops private bin dir. The assembly loading rules check the application base dir before checking in the same dir as the custom dll. Note that we now create a proper v4.0 builder as MonoDevelop requires that there is a MonoDevelop.Projects.Formats.MSBuild.exe file in it's main directory, but we cannot actually use this one for building.
Diffstat (limited to 'main/src/core/MonoDevelop.Projects.Formats.MSBuild')
-rw-r--r--main/src/core/MonoDevelop.Projects.Formats.MSBuild/MonoDevelop.Projects.Formats.MSBuild.v4.0.csproj58
1 files changed, 58 insertions, 0 deletions
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
new file mode 100644
index 0000000000..36d5180e1b
--- /dev/null
+++ b/main/src/core/MonoDevelop.Projects.Formats.MSBuild/MonoDevelop.Projects.Formats.MSBuild.v4.0.csproj
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">x86</Platform>
+ <ProductVersion>9.0.21022</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{B257A1A3-78DF-4F00-8053-D32A8B1EB679}</ProjectGuid>
+ <OutputType>WinExe</OutputType>
+ <AssemblyName>MonoDevelop.Projects.Formats.MSBuild</AssemblyName>
+ <RootNamespace>MonoDevelop.Projects.Formats.MSBuild</RootNamespace>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
+ <DebugSymbols>True</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>False</Optimize>
+ <OutputPath>..\..\..\build\bin\MSBuild\4.0</OutputPath>
+ <DefineConstants>DEBUG</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <PlatformTarget>x86</PlatformTarget>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
+ <DebugType>none</DebugType>
+ <Optimize>False</Optimize>
+ <OutputPath>..\..\..\build\bin\MSBuild\4.0</OutputPath>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <PlatformTarget>x86</PlatformTarget>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="System" />
+ <Reference Include="System.Runtime.Remoting" />
+ <Reference Include="Microsoft.Build.Engine" />
+ <Reference Include="Microsoft.Build.Framework" />
+ <Reference Include="Microsoft.Build.Utilities.v4.0" />
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="Main.cs" />
+ <Compile Include="AssemblyInfo.cs" />
+ <Compile Include="MonoDevelop.Projects.Formats.MSBuild\ProjectBuilder.cs" />
+ <Compile Include="MonoDevelop.Projects.Formats.MSBuild\MSBuildResult.cs" />
+ <Compile Include="MonoDevelop.Projects.Formats.MSBuild\LocalLogger.cs" />
+ <Compile Include="MonoDevelop.Projects.Formats.MSBuild\ILogWriter.cs" />
+ <Compile Include="MonoDevelop.Projects.Formats.MSBuild\IProjectBuilder.cs" />
+ <Compile Include="MonoDevelop.Projects.Formats.MSBuild\BuildEngine.cs" />
+ <Compile Include="MonoDevelop.Projects.Formats.MSBuild\IBuildEngine.cs" />
+ <Compile Include="MonoDevelop.Projects.Formats.MSBuild\ConsoleLogger.cs" />
+ <Compile Include="AssemblyInfo.v4.0.cs" />
+ </ItemGroup>
+ <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
+ <ItemGroup>
+ <Folder Include="MonoDevelop.Projects.Formats.MSBuild\" />
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="app.config" />
+ </ItemGroup>
+</Project>