diff options
Diffstat (limited to 'main/msbuild/MonoDevelop.AfterCommon.targets')
-rw-r--r-- | main/msbuild/MonoDevelop.AfterCommon.targets | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/main/msbuild/MonoDevelop.AfterCommon.targets b/main/msbuild/MonoDevelop.AfterCommon.targets new file mode 100644 index 0000000000..ece7fbe4fd --- /dev/null +++ b/main/msbuild/MonoDevelop.AfterCommon.targets @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + + <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> |