diff options
author | Ankit Jain <radical@corewars.org> | 2009-10-08 21:42:38 +0400 |
---|---|---|
committer | Ankit Jain <radical@corewars.org> | 2009-10-08 21:42:38 +0400 |
commit | 85c41fbb2e30ec883c6c4b374519047f5aecd194 (patch) | |
tree | 014d90e8301f5800aff374b37e43f5d5fc5567ce /main/md.targets | |
parent | 9030c3e45b1a3d9e9892f5cec1a16ead3b152148 (diff) |
Update project files to build with xbuild.
In b/main:
* md.targets: New. Targets file that adds build/* as a
assembly search path for msbuild.
In b/main/po:
* po.mdproj: Add Empty "Build" and "Clean" targets,
workarounds to make it work with xbuild.
In b/main/src/addins/AspNet/MonoDevelop.AspNet.Mvc:
* MonoDevelop.AspNet.Mvc.csproj: Import md.targets .
In b/main/src/addins/AspNet/MonoDevelop.AspNet:
* MonoDevelop.AspNet.csproj: Mark *-sharp references,
with SpecificVersion=false. Import md.targets .
In b/main/src/addins/CSharpBinding/Autotools:
* Autotools.csproj: Add md.targets .
In b/main/src/addins/CSharpBinding:
* CSharpBinding.csproj: Add md.targets .
In b/main/src/addins/GnomePlatform:
* GnomePlatform.csproj: Mark gtk-sharp/pango-sharp with
SpecificVersion=false. Add 'GnomePlatform.dll.config' to
the project, this is already there in the makefile.
In b/main/src/addins/MonoDevelop.AssemblyBrowser:
* MonoDevelop.AssemblyBrowser.csproj: Mark the Refactoring
project reference as Private.
In b/main/src/addins/MonoDevelop.GtkCore/libsteticui:
* libsteticui.csproj: Mark Mono.Cecil project referece
as private.
In b/main/src/addins/MonoDevelop.Moonlight:
* MonoDevelop.Moonlight.csproj: Import md.targets .
In b/main/src/addins/MonoDevelop.Refactoring:
* MonoDevelop.Refactoring.csproj: Mark the *-sharp references
with SpecificVersion=false.
In b/main/src/addins/MonoDevelop.SourceEditor2:
* MonoDevelop.SourceEditor.csproj: Add md.targets .
In b/main/src/addins/TextTemplating/MonoDevelop.TextTemplating:
* MonoDevelop.TextTemplating.csproj: Mark *-sharp references
with SpecificVersion=false. Import md.targets .
In b/main/src/addins/prj2make-sharp-lib:
* prj2make-sharp-lib.csproj: Add md.targets .
In b/main/src/core/MonoDevelop.Ide:
* MonoDevelop.Ide.csproj: Add options/* as "Data" items,
and add a "AfterBuild" target to copy them to build\data.
This matches the makefile behavior.
In b/main/src/addins/MonoDevelop.XmlEditor/ChangeLog
* MonoDevelop.XmlEditor.csproj: Add md.targets .
In b/main/src/addins/VersionControl/MonoDevelop.VersionControl/ChangeLog
* MonoDevelop.VersionControl.csproj: Add md.targets .
In b/main/src/tools/mdrun:
* mdrun.csproj: Add 'app.config'.
In b/main/tests/UnitTests:
* UnitTests.csproj: Add md.targets .
svn path=/trunk/monodevelop/; revision=143794
Diffstat (limited to 'main/md.targets')
-rw-r--r-- | main/md.targets | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/main/md.targets b/main/md.targets new file mode 100644 index 0000000000..8f3cdf5213 --- /dev/null +++ b/main/md.targets @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5"> + <ItemGroup> + <SearchPathFiles Include="$(SolutionDir)\build\AddIns\**\*.dll"/> + </ItemGroup> + + <Target Name="BeforeResolveReferences"> + <RemoveDuplicates Inputs="@(SearchPathFiles->'%(RootDir)%(Directory)')"> + <Output TaskParameter="Filtered" ItemName="SearchPath" /> + </RemoveDuplicates> + + <CreateProperty Value="@(SearchPath);$(SolutionDir)\build\bin;$(AssemblySearchPaths)"> + <Output TaskParameter="Value" PropertyName="AssemblySearchPaths" /> + </CreateProperty> + </Target> +</Project> |