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

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mcs/class/Makefile2
-rw-r--r--mcs/class/Microsoft.Build.Tasks/Makefile6
-rw-r--r--mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks-net_2_0.csproj6
-rw-r--r--mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks-net_3_5.csproj6
-rw-r--r--mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks-net_4_0.csproj6
-rw-r--r--mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks-net_4_5.csproj6
-rw-r--r--mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks.dll.sources2
-rw-r--r--mcs/class/Mono.XBuild.Tasks/Assembly/AssemblyInfo.cs53
-rw-r--r--mcs/class/Mono.XBuild.Tasks/Makefile16
-rw-r--r--mcs/class/Mono.XBuild.Tasks/Mono.XBuild.Tasks-net_2_0.csproj76
-rw-r--r--mcs/class/Mono.XBuild.Tasks/Mono.XBuild.Tasks-net_3_5.csproj74
-rw-r--r--mcs/class/Mono.XBuild.Tasks/Mono.XBuild.Tasks-net_4_0.csproj74
-rw-r--r--mcs/class/Mono.XBuild.Tasks/Mono.XBuild.Tasks-net_4_5.csproj74
-rw-r--r--mcs/class/Mono.XBuild.Tasks/Mono.XBuild.Tasks-tests-net_2_0.csproj75
-rw-r--r--mcs/class/Mono.XBuild.Tasks/Mono.XBuild.Tasks-tests-net_3_5.csproj75
-rw-r--r--mcs/class/Mono.XBuild.Tasks/Mono.XBuild.Tasks-tests-net_4_0.csproj75
-rw-r--r--mcs/class/Mono.XBuild.Tasks/Mono.XBuild.Tasks-tests-net_4_5.csproj75
-rw-r--r--mcs/class/Mono.XBuild.Tasks/Mono.XBuild.Tasks.dll.sources6
-rw-r--r--mcs/class/Mono.XBuild.Tasks/Mono.XBuild.Tasks/LibraryPcFileCache.cs (renamed from mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks/LibraryPcFileCache.cs)6
-rw-r--r--mcs/class/Mono.XBuild.Tasks/Mono.XBuild.Tasks/PcFileCache.cs (renamed from mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks/PcFileCache.cs)12
-rw-r--r--mcs/class/Mono.XBuild.Tasks/Mono.XBuild.Tasks_test.dll.sources1
-rw-r--r--mcs/class/Mono.XBuild.Tasks/Test/Mono.XBuild.Tasks/PcFileCacheTest.cs34
22 files changed, 740 insertions, 20 deletions
diff --git a/mcs/class/Makefile b/mcs/class/Makefile
index aa37aebd10e..79f1f9d618c 100644
--- a/mcs/class/Makefile
+++ b/mcs/class/Makefile
@@ -91,6 +91,7 @@ net_2_0_dirs := \
Microsoft.Build.Framework \
Microsoft.Build.Utilities \
Microsoft.Build.Engine \
+ Mono.XBuild.Tasks \
Microsoft.Build.Tasks \
System.Xml.Linq \
System.Runtime.Serialization \
@@ -173,6 +174,7 @@ net_3_5_only_dirs := \
Microsoft.Build.Framework \
Microsoft.Build.Utilities \
Microsoft.Build.Engine \
+ Mono.XBuild.Tasks \
Microsoft.Build.Tasks
net_4_0_dirs := \
diff --git a/mcs/class/Microsoft.Build.Tasks/Makefile b/mcs/class/Microsoft.Build.Tasks/Makefile
index 18288e01177..4161a45b51c 100644
--- a/mcs/class/Microsoft.Build.Tasks/Makefile
+++ b/mcs/class/Microsoft.Build.Tasks/Makefile
@@ -5,11 +5,13 @@ include ../../build/rules.make
LIBRARY = Microsoft.Build.Tasks.dll
BUILD_FRAMEWORK = Microsoft.Build.Framework.dll
BUILD_ENGINE = Microsoft.Build.Engine.dll
+XBUILD_TASKS = Mono.XBuild.Tasks.dll
ifeq (3.5, $(FRAMEWORK_VERSION))
NAME_SUFFIX = .v3.5
BUILD_FRAMEWORK := $(topdir)/class/lib/$(PROFILE)/$(BUILD_FRAMEWORK)
BUILD_ENGINE := $(topdir)/class/lib/$(PROFILE)/$(BUILD_ENGINE)
+XBUILD_TASKS := $(topdir)/class/lib/$(PROFILE)/$(XBUILD_TASKS)
else
ifeq (4, $(FRAMEWORK_VERSION_MAJOR))
NAME_SUFFIX = .v4.0
@@ -29,11 +31,13 @@ LIB_MCS_FLAGS = \
/r:System.Windows.Forms.dll \
/r:Microsoft.Build.Utilities$(NAME_SUFFIX).dll \
/r:$(BUILD_FRAMEWORK) \
- /r:$(BUILD_ENGINE)
+ /r:$(BUILD_ENGINE) \
+ /r:$(XBUILD_TASKS)
TEST_MCS_FLAGS = \
/r:$(BUILD_ENGINE) \
/r:$(BUILD_FRAMEWORK) \
+ /r:$(XBUILD_TASKS) \
/r:Microsoft.Build.Utilities$(NAME_SUFFIX).dll \
/r:System.Core.dll
diff --git a/mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks-net_2_0.csproj b/mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks-net_2_0.csproj
index 6d196e931da..39fdfbca0de 100644
--- a/mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks-net_2_0.csproj
+++ b/mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks-net_2_0.csproj
@@ -132,12 +132,10 @@
<Compile Include="Microsoft.Build.Tasks\GetFrameworkSdkPath.cs" />
<Compile Include="Microsoft.Build.Tasks\GetReferenceAssemblyPaths.cs" />
<Compile Include="Microsoft.Build.Tasks\LC.cs" />
- <Compile Include="Microsoft.Build.Tasks\LibraryPcFileCache.cs" />
<Compile Include="Microsoft.Build.Tasks\MakeDir.cs" />
<Compile Include="Microsoft.Build.Tasks\ManagedCompiler.cs" />
<Compile Include="Microsoft.Build.Tasks\Message.cs" />
<Compile Include="Microsoft.Build.Tasks\MSBuild.cs" />
- <Compile Include="Microsoft.Build.Tasks\PcFileCache.cs" />
<Compile Include="Microsoft.Build.Tasks\ReadLinesFromFile.cs" />
<Compile Include="Microsoft.Build.Tasks\RegisterAssembly.cs" />
<Compile Include="Microsoft.Build.Tasks\RemoveDir.cs" />
@@ -210,6 +208,10 @@
<Project>{E8E948B8-6DCF-48F2-A6BC-04309AED8740}</Project>
<Name>Microsoft.Build.Engine\Microsoft.Build.Engine-net_2_0</Name>
</ProjectReference>
+ <ProjectReference Include="..\Mono.XBuild.Tasks\Mono.XBuild.Tasks-net_2_0.csproj">
+ <Project>{F5F84165-0541-4828-A81E-0AA1836E50C1}</Project>
+ <Name>Mono.XBuild.Tasks-net_2_0</Name>
+ </ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
diff --git a/mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks-net_3_5.csproj b/mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks-net_3_5.csproj
index 014cf446e04..7f9ae420975 100644
--- a/mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks-net_3_5.csproj
+++ b/mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks-net_3_5.csproj
@@ -132,12 +132,10 @@
<Compile Include="Microsoft.Build.Tasks\GetFrameworkSdkPath.cs" />
<Compile Include="Microsoft.Build.Tasks\GetReferenceAssemblyPaths.cs" />
<Compile Include="Microsoft.Build.Tasks\LC.cs" />
- <Compile Include="Microsoft.Build.Tasks\LibraryPcFileCache.cs" />
<Compile Include="Microsoft.Build.Tasks\MakeDir.cs" />
<Compile Include="Microsoft.Build.Tasks\ManagedCompiler.cs" />
<Compile Include="Microsoft.Build.Tasks\Message.cs" />
<Compile Include="Microsoft.Build.Tasks\MSBuild.cs" />
- <Compile Include="Microsoft.Build.Tasks\PcFileCache.cs" />
<Compile Include="Microsoft.Build.Tasks\ReadLinesFromFile.cs" />
<Compile Include="Microsoft.Build.Tasks\RegisterAssembly.cs" />
<Compile Include="Microsoft.Build.Tasks\RemoveDir.cs" />
@@ -210,6 +208,10 @@
<Project>{874516A3-F5F6-4EAB-B005-4D1A567C5E4D}</Project>
<Name>Microsoft.Build.Engine\Microsoft.Build.Engine-net_3_5</Name>
</ProjectReference>
+ <ProjectReference Include="..\Mono.XBuild.Tasks\Mono.XBuild.Tasks-net_3_5.csproj">
+ <Project>{7B888FCD-9064-4F4A-954E-795B43F98127}</Project>
+ <Name>Mono.XBuild.Tasks-net_3_5</Name>
+ </ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
diff --git a/mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks-net_4_0.csproj b/mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks-net_4_0.csproj
index b52f6278696..f883f4f7889 100644
--- a/mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks-net_4_0.csproj
+++ b/mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks-net_4_0.csproj
@@ -132,12 +132,10 @@
<Compile Include="Microsoft.Build.Tasks\GetFrameworkSdkPath.cs" />
<Compile Include="Microsoft.Build.Tasks\GetReferenceAssemblyPaths.cs" />
<Compile Include="Microsoft.Build.Tasks\LC.cs" />
- <Compile Include="Microsoft.Build.Tasks\LibraryPcFileCache.cs" />
<Compile Include="Microsoft.Build.Tasks\MakeDir.cs" />
<Compile Include="Microsoft.Build.Tasks\ManagedCompiler.cs" />
<Compile Include="Microsoft.Build.Tasks\Message.cs" />
<Compile Include="Microsoft.Build.Tasks\MSBuild.cs" />
- <Compile Include="Microsoft.Build.Tasks\PcFileCache.cs" />
<Compile Include="Microsoft.Build.Tasks\ReadLinesFromFile.cs" />
<Compile Include="Microsoft.Build.Tasks\RegisterAssembly.cs" />
<Compile Include="Microsoft.Build.Tasks\RemoveDir.cs" />
@@ -210,6 +208,10 @@
<Project>{9B0AC297-CB85-43C1-8C18-12997CF1B78D}</Project>
<Name>Microsoft.Build.Engine\Microsoft.Build.Engine-net_4_0</Name>
</ProjectReference>
+ <ProjectReference Include="..\Mono.XBuild.Tasks\Mono.XBuild.Tasks-net_4_0.csproj">
+ <Project>{F7F03F9B-6E7A-43BD-993A-7F197A440150}</Project>
+ <Name>Mono.XBuild.Tasks-net_4_0</Name>
+ </ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
diff --git a/mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks-net_4_5.csproj b/mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks-net_4_5.csproj
index 657ee6fc251..7af8b85741e 100644
--- a/mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks-net_4_5.csproj
+++ b/mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks-net_4_5.csproj
@@ -132,12 +132,10 @@
<Compile Include="Microsoft.Build.Tasks\GetFrameworkSdkPath.cs" />
<Compile Include="Microsoft.Build.Tasks\GetReferenceAssemblyPaths.cs" />
<Compile Include="Microsoft.Build.Tasks\LC.cs" />
- <Compile Include="Microsoft.Build.Tasks\LibraryPcFileCache.cs" />
<Compile Include="Microsoft.Build.Tasks\MakeDir.cs" />
<Compile Include="Microsoft.Build.Tasks\ManagedCompiler.cs" />
<Compile Include="Microsoft.Build.Tasks\Message.cs" />
<Compile Include="Microsoft.Build.Tasks\MSBuild.cs" />
- <Compile Include="Microsoft.Build.Tasks\PcFileCache.cs" />
<Compile Include="Microsoft.Build.Tasks\ReadLinesFromFile.cs" />
<Compile Include="Microsoft.Build.Tasks\RegisterAssembly.cs" />
<Compile Include="Microsoft.Build.Tasks\RemoveDir.cs" />
@@ -210,6 +208,10 @@
<Project>{0DA63190-E6E1-41C5-B683-A54FADBE61CB}</Project>
<Name>Microsoft.Build.Engine\Microsoft.Build.Engine-net_4_5</Name>
</ProjectReference>
+ <ProjectReference Include="..\Mono.XBuild.Tasks\Mono.XBuild.Tasks-net_4_5.csproj">
+ <Project>{9AC58525-C730-4552-A8FA-332979FCD055}</Project>
+ <Name>Mono.XBuild.Tasks-net_4_5</Name>
+ </ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
diff --git a/mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks.dll.sources b/mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks.dll.sources
index fb30b46bc2a..e61c90c6300 100644
--- a/mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks.dll.sources
+++ b/mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks.dll.sources
@@ -87,8 +87,6 @@ Microsoft.Build.Tasks/MakeDir.cs
Microsoft.Build.Tasks/ManagedCompiler.cs
Microsoft.Build.Tasks/Message.cs
Microsoft.Build.Tasks/MSBuild.cs
-Microsoft.Build.Tasks/PcFileCache.cs
-Microsoft.Build.Tasks/LibraryPcFileCache.cs
Microsoft.Build.Tasks/ReadLinesFromFile.cs
Microsoft.Build.Tasks/RegisterAssembly.cs
Microsoft.Build.Tasks/RemoveDir.cs
diff --git a/mcs/class/Mono.XBuild.Tasks/Assembly/AssemblyInfo.cs b/mcs/class/Mono.XBuild.Tasks/Assembly/AssemblyInfo.cs
new file mode 100644
index 00000000000..c5543a4af27
--- /dev/null
+++ b/mcs/class/Mono.XBuild.Tasks/Assembly/AssemblyInfo.cs
@@ -0,0 +1,53 @@
+//
+// AssemblyInfo.cs
+//
+// Author:
+// Antonius Riha <antoniusriha@gmail.com>
+//
+// Copyright (c) 2013 Antonius Riha
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+//
+
+using System;
+using System.Reflection;
+using System.Resources;
+using System.Runtime.InteropServices;
+
+// General Information about the Mono.XBuild.Tasks assembly
+
+[assembly: AssemblyTitle ("Mono.XBuild.Tasks.dll")]
+[assembly: AssemblyDescription ("Mono.XBuild.Tasks.dll")]
+[assembly: AssemblyDefaultAlias ("Mono.XBuild.Tasks.dll")]
+
+[assembly: AssemblyCompany (Consts.MonoCompany)]
+[assembly: AssemblyProduct (Consts.MonoProduct)]
+[assembly: AssemblyCopyright (Consts.MonoCopyright)]
+[assembly: AssemblyVersion (Consts.FxVersion)]
+[assembly: SatelliteContractVersion (Consts.FxVersion)]
+[assembly: AssemblyInformationalVersion (Consts.FxFileVersion)]
+
+[assembly: NeutralResourcesLanguage ("en-US")]
+
+[assembly: ComVisible (false)]
+[assembly: CLSCompliant (true)]
+[assembly: AssemblyDelaySign (true)]
+[assembly: AssemblyKeyFile("../mono.pub")]
+
+[assembly: AssemblyFileVersion (Consts.FxFileVersion)]
diff --git a/mcs/class/Mono.XBuild.Tasks/Makefile b/mcs/class/Mono.XBuild.Tasks/Makefile
new file mode 100644
index 00000000000..824eaf70ab4
--- /dev/null
+++ b/mcs/class/Mono.XBuild.Tasks/Makefile
@@ -0,0 +1,16 @@
+thisdir = class/Mono.XBuild.Tasks
+SUBDIRS =
+include ../../build/rules.make
+
+LIBRARY = Mono.XBuild.Tasks.dll
+
+LIB_MCS_FLAGS = \
+ /r:$(corlib) \
+ /r:System.dll \
+ /r:System.Xml.dll
+
+export TESTING_MONO=a
+XBUILD_DIR=../../tools/xbuild
+include $(XBUILD_DIR)/xbuild_targets.make
+
+include ../../build/library.make
diff --git a/mcs/class/Mono.XBuild.Tasks/Mono.XBuild.Tasks-net_2_0.csproj b/mcs/class/Mono.XBuild.Tasks/Mono.XBuild.Tasks-net_2_0.csproj
new file mode 100644
index 00000000000..a2ade4abc79
--- /dev/null
+++ b/mcs/class/Mono.XBuild.Tasks/Mono.XBuild.Tasks-net_2_0.csproj
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>9.0.30729</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{F5F84165-0541-4828-A81E-0AA1836E50C1}</ProjectGuid>
+ <OutputType>Library</OutputType>
+ <NoWarn>1699</NoWarn>
+ <OutputPath>bin\Debug\Mono.XBuild.Tasks-net_2_0</OutputPath>
+ <NoStdLib>True</NoStdLib>
+ <NoConfig>True</NoConfig>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <AssemblyName>Mono.XBuild.Tasks</AssemblyName>
+ <TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
+ <FileAlignment>512</FileAlignment>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <DefineConstants>DEBUG;TRACE;NET_2_0</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <Optimize>true</Optimize>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <DefineConstants>NET_2_0</DefineConstants>
+ </PropertyGroup>
+ <!-- Set AddAdditionalExplicitAssemblyReferences to false, otherwise if targetting .NET4.0,
+ Microsoft.NETFramework.props will force a dependency on the assembly System.Core. This
+ is a problem to compile the Mono mscorlib.dll -->
+ <PropertyGroup>
+ <AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
+ </PropertyGroup>
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+ <ItemGroup>
+ <Compile Include="..\..\build\common\Consts.cs" />
+ <Compile Include="..\..\build\common\MonoTODOAttribute.cs" />
+ <Compile Include="..\Microsoft.Build.Utilities\Mono.XBuild.Utilities\MSBuildUtils.cs" />
+ <Compile Include="Mono.XBuild.Tasks\LibraryPcFileCache.cs" />
+ <Compile Include="Mono.XBuild.Tasks\PcFileCache.cs" />
+ <Compile Include="Assembly\AssemblyInfo.cs" />
+ </ItemGroup>
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+ Other similar extension points exist, see Microsoft.Common.targets.
+ <Target Name="BeforeBuild">
+ </Target>
+ <Target Name="AfterBuild">
+ </Target>
+ -->
+ <PropertyGroup>
+ <PreBuildEvent>
+ </PreBuildEvent>
+ <PostBuildEvent>
+ xcopy $(TargetName).* $(ProjectDir)..\lib\net_2_0\ /Y /R /D
+ </PostBuildEvent>
+ </PropertyGroup>
+ <ItemGroup>
+ <Folder Include="Assembly\" />
+ </ItemGroup>
+ <ItemGroup>
+ <Reference Include="mscorlib">
+ <HintPath>..\lib\net_2_0\mscorlib.dll</HintPath>
+ </Reference>
+ <Reference Include="System">
+ <HintPath>..\lib\net_2_0\System.dll</HintPath>
+ </Reference>
+ <Reference Include="System.Xml">
+ <HintPath>..\lib\net_2_0\System.Xml.dll</HintPath>
+ </Reference>
+ </ItemGroup>
+</Project>
diff --git a/mcs/class/Mono.XBuild.Tasks/Mono.XBuild.Tasks-net_3_5.csproj b/mcs/class/Mono.XBuild.Tasks/Mono.XBuild.Tasks-net_3_5.csproj
new file mode 100644
index 00000000000..f162637d51f
--- /dev/null
+++ b/mcs/class/Mono.XBuild.Tasks/Mono.XBuild.Tasks-net_3_5.csproj
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>9.0.30729</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{7B888FCD-9064-4F4A-954E-795B43F98127}</ProjectGuid>
+ <OutputType>Library</OutputType>
+ <NoWarn>1699</NoWarn>
+ <OutputPath>bin\Debug\Mono.XBuild.Tasks-net_3_5</OutputPath>
+ <NoStdLib>True</NoStdLib>
+ <NoConfig>True</NoConfig>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <AssemblyName>Mono.XBuild.Tasks.v3.5</AssemblyName>
+ <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
+ <FileAlignment>512</FileAlignment>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <DefineConstants>DEBUG;TRACE;NET_2_0;NET_3_5</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <DefineConstants>NET_2_0;NET_3_5</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <!-- Set AddAdditionalExplicitAssemblyReferences to false, otherwise if targetting .NET4.0,
+ Microsoft.NETFramework.props will force a dependency on the assembly System.Core. This
+ is a problem to compile the Mono mscorlib.dll -->
+ <PropertyGroup>
+ <AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
+ </PropertyGroup>
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+ <ItemGroup>
+ <Compile Include="..\..\build\common\Consts.cs" />
+ <Compile Include="..\..\build\common\MonoTODOAttribute.cs" />
+ <Compile Include="..\Microsoft.Build.Utilities\Mono.XBuild.Utilities\MSBuildUtils.cs" />
+ <Compile Include="Mono.XBuild.Tasks\LibraryPcFileCache.cs" />
+ <Compile Include="Mono.XBuild.Tasks\PcFileCache.cs" />
+ <Compile Include="Assembly\AssemblyInfo.cs" />
+ </ItemGroup>
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+ Other similar extension points exist, see Microsoft.Common.targets.
+ <Target Name="BeforeBuild">
+ </Target>
+ <Target Name="AfterBuild">
+ </Target>
+ -->
+ <PropertyGroup>
+ <PreBuildEvent>
+ </PreBuildEvent>
+ <PostBuildEvent>
+ xcopy $(TargetName).* $(ProjectDir)..\lib\net_3_5\ /Y /R /D
+ </PostBuildEvent>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="mscorlib">
+ <HintPath>..\lib\net_3_5\mscorlib.dll</HintPath>
+ </Reference>
+ <Reference Include="System">
+ <HintPath>..\lib\net_3_5\System.dll</HintPath>
+ </Reference>
+ <Reference Include="System.Xml">
+ <HintPath>..\lib\net_3_5\System.Xml.dll</HintPath>
+ </Reference>
+ </ItemGroup>
+</Project>
diff --git a/mcs/class/Mono.XBuild.Tasks/Mono.XBuild.Tasks-net_4_0.csproj b/mcs/class/Mono.XBuild.Tasks/Mono.XBuild.Tasks-net_4_0.csproj
new file mode 100644
index 00000000000..e5560345655
--- /dev/null
+++ b/mcs/class/Mono.XBuild.Tasks/Mono.XBuild.Tasks-net_4_0.csproj
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>9.0.30729</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{F7F03F9B-6E7A-43BD-993A-7F197A440150}</ProjectGuid>
+ <OutputType>Library</OutputType>
+ <NoWarn>1699</NoWarn>
+ <OutputPath>bin\Debug\Mono.XBuild.Tasks-net_4_0</OutputPath>
+ <NoStdLib>True</NoStdLib>
+ <NoConfig>True</NoConfig>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <AssemblyName>Mono.XBuild.Tasks.v4.0</AssemblyName>
+ <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
+ <FileAlignment>512</FileAlignment>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <DefineConstants>DEBUG;TRACE;NET_2_0;NET_3_0;NET_3_5;NET_4_0</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <DefineConstants>NET_2_0;NET_3_0;NET_3_5;NET_4_0</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <!-- Set AddAdditionalExplicitAssemblyReferences to false, otherwise if targetting .NET4.0,
+ Microsoft.NETFramework.props will force a dependency on the assembly System.Core. This
+ is a problem to compile the Mono mscorlib.dll -->
+ <PropertyGroup>
+ <AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
+ </PropertyGroup>
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+ <ItemGroup>
+ <Compile Include="..\..\build\common\Consts.cs" />
+ <Compile Include="..\..\build\common\MonoTODOAttribute.cs" />
+ <Compile Include="..\Microsoft.Build.Utilities\Mono.XBuild.Utilities\MSBuildUtils.cs" />
+ <Compile Include="Mono.XBuild.Tasks\LibraryPcFileCache.cs" />
+ <Compile Include="Mono.XBuild.Tasks\PcFileCache.cs" />
+ <Compile Include="Assembly\AssemblyInfo.cs" />
+ </ItemGroup>
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+ Other similar extension points exist, see Microsoft.Common.targets.
+ <Target Name="BeforeBuild">
+ </Target>
+ <Target Name="AfterBuild">
+ </Target>
+ -->
+ <PropertyGroup>
+ <PreBuildEvent>
+ </PreBuildEvent>
+ <PostBuildEvent>
+ xcopy $(TargetName).* $(ProjectDir)..\lib\net_4_0\ /Y /R /D
+ </PostBuildEvent>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="mscorlib">
+ <HintPath>..\lib\net_4_0\mscorlib.dll</HintPath>
+ </Reference>
+ <Reference Include="System">
+ <HintPath>..\lib\net_4_0\System.dll</HintPath>
+ </Reference>
+ <Reference Include="System.Xml">
+ <HintPath>..\lib\net_4_0\System.Xml.dll</HintPath>
+ </Reference>
+ </ItemGroup>
+</Project>
diff --git a/mcs/class/Mono.XBuild.Tasks/Mono.XBuild.Tasks-net_4_5.csproj b/mcs/class/Mono.XBuild.Tasks/Mono.XBuild.Tasks-net_4_5.csproj
new file mode 100644
index 00000000000..9bf6342e1af
--- /dev/null
+++ b/mcs/class/Mono.XBuild.Tasks/Mono.XBuild.Tasks-net_4_5.csproj
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>9.0.30729</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{9AC58525-C730-4552-A8FA-332979FCD055}</ProjectGuid>
+ <OutputType>Library</OutputType>
+ <NoWarn>1699</NoWarn>
+ <OutputPath>bin\Debug\Mono.XBuild.Tasks-net_4_5</OutputPath>
+ <NoStdLib>True</NoStdLib>
+ <NoConfig>True</NoConfig>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <AssemblyName>Mono.XBuild.Tasks.v4.0</AssemblyName>
+ <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+ <FileAlignment>512</FileAlignment>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <DefineConstants>DEBUG;TRACE;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <DefineConstants>NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <!-- Set AddAdditionalExplicitAssemblyReferences to false, otherwise if targetting .NET4.0,
+ Microsoft.NETFramework.props will force a dependency on the assembly System.Core. This
+ is a problem to compile the Mono mscorlib.dll -->
+ <PropertyGroup>
+ <AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
+ </PropertyGroup>
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+ <ItemGroup>
+ <Compile Include="..\..\build\common\Consts.cs" />
+ <Compile Include="..\..\build\common\MonoTODOAttribute.cs" />
+ <Compile Include="..\Microsoft.Build.Utilities\Mono.XBuild.Utilities\MSBuildUtils.cs" />
+ <Compile Include="Mono.XBuild.Tasks\LibraryPcFileCache.cs" />
+ <Compile Include="Mono.XBuild.Tasks\PcFileCache.cs" />
+ <Compile Include="Assembly\AssemblyInfo.cs" />
+ </ItemGroup>
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+ Other similar extension points exist, see Microsoft.Common.targets.
+ <Target Name="BeforeBuild">
+ </Target>
+ <Target Name="AfterBuild">
+ </Target>
+ -->
+ <PropertyGroup>
+ <PreBuildEvent>
+ </PreBuildEvent>
+ <PostBuildEvent>
+ xcopy $(TargetName).* $(ProjectDir)..\lib\net_4_5\ /Y /R /D
+ </PostBuildEvent>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="mscorlib">
+ <HintPath>..\lib\net_4_5\mscorlib.dll</HintPath>
+ </Reference>
+ <Reference Include="System">
+ <HintPath>..\lib\net_4_5\System.dll</HintPath>
+ </Reference>
+ <Reference Include="System.Xml">
+ <HintPath>..\lib\net_4_5\System.Xml.dll</HintPath>
+ </Reference>
+ </ItemGroup>
+</Project>
diff --git a/mcs/class/Mono.XBuild.Tasks/Mono.XBuild.Tasks-tests-net_2_0.csproj b/mcs/class/Mono.XBuild.Tasks/Mono.XBuild.Tasks-tests-net_2_0.csproj
new file mode 100644
index 00000000000..0412ea86e4e
--- /dev/null
+++ b/mcs/class/Mono.XBuild.Tasks/Mono.XBuild.Tasks-tests-net_2_0.csproj
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>9.0.30729</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{0E03221E-BC2B-4C7C-AA7B-F26B8FFA3014}</ProjectGuid>
+ <OutputType>Library</OutputType>
+ <NoWarn>1699</NoWarn>
+ <OutputPath>bin\Debug\Mono.XBuild.Tasks-tests-net_2_0</OutputPath>
+ <NoStdLib>True</NoStdLib>
+ <NoConfig>False</NoConfig>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <AssemblyName>Mono.XBuild.Tasks_test_net_2_0</AssemblyName>
+ <TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
+ <FileAlignment>512</FileAlignment>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <DefineConstants>DEBUG;TRACE;NET_2_0</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <DefineConstants>NET_2_0</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <!-- Set AddAdditionalExplicitAssemblyReferences to false, otherwise if targetting .NET4.0,
+ Microsoft.NETFramework.props will force a dependency on the assembly System.Core. This
+ is a problem to compile the Mono mscorlib.dll -->
+ <PropertyGroup>
+ <AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
+ </PropertyGroup>
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+ <ItemGroup>
+ <Compile Include="Test\Mono.XBuild.Tasks\PcFileCacheTest.cs" />
+ </ItemGroup>
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+ Other similar extension points exist, see Microsoft.Common.targets.
+ <Target Name="BeforeBuild">
+ </Target>
+ <Target Name="AfterBuild">
+ </Target>
+ -->
+ <PropertyGroup>
+ <PreBuildEvent>
+ </PreBuildEvent>
+ <PostBuildEvent>
+ xcopy $(TargetName).* $(ProjectDir)..\lib\net_2_0\ /Y /R /D
+ </PostBuildEvent>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="mscorlib">
+ <HintPath>..\lib\net_2_0\mscorlib.dll</HintPath>
+ </Reference>
+ <Reference Include="System.Core">
+ <HintPath>..\lib\net_2_0\System.Core.dll</HintPath>
+ </Reference>
+ <Reference Include="nunit.framework">
+ <HintPath>..\lib\net_2_0\nunit.framework.dll</HintPath>
+ </Reference>
+ </ItemGroup>
+ <ItemGroup>
+ <ProjectReference Include="Mono.XBuild.Tasks-net_2_0.csproj">
+ <Project>{F5F84165-0541-4828-A81E-0AA1836E50C1}</Project>
+ <Name>Mono.XBuild.Tasks-net_2_0</Name>
+ </ProjectReference>
+ </ItemGroup>
+</Project>
diff --git a/mcs/class/Mono.XBuild.Tasks/Mono.XBuild.Tasks-tests-net_3_5.csproj b/mcs/class/Mono.XBuild.Tasks/Mono.XBuild.Tasks-tests-net_3_5.csproj
new file mode 100644
index 00000000000..77ffd647277
--- /dev/null
+++ b/mcs/class/Mono.XBuild.Tasks/Mono.XBuild.Tasks-tests-net_3_5.csproj
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>9.0.30729</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{B1C8C446-5C28-4352-BA7A-A30171FEA614}</ProjectGuid>
+ <OutputType>Library</OutputType>
+ <NoWarn>1699</NoWarn>
+ <OutputPath>bin\Debug\Mono.XBuild.Tasks-tests-net_3_5</OutputPath>
+ <NoStdLib>True</NoStdLib>
+ <NoConfig>False</NoConfig>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <AssemblyName>Mono.XBuild.Tasks_test_net_3_5</AssemblyName>
+ <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
+ <FileAlignment>512</FileAlignment>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <DefineConstants>DEBUG;TRACE;NET_2_0;NET_3_5</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <DefineConstants>NET_2_0;NET_3_5</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <!-- Set AddAdditionalExplicitAssemblyReferences to false, otherwise if targetting .NET4.0,
+ Microsoft.NETFramework.props will force a dependency on the assembly System.Core. This
+ is a problem to compile the Mono mscorlib.dll -->
+ <PropertyGroup>
+ <AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
+ </PropertyGroup>
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+ <ItemGroup>
+ <Compile Include="Test\Mono.XBuild.Tasks\PcFileCacheTest.cs" />
+ </ItemGroup>
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+ Other similar extension points exist, see Microsoft.Common.targets.
+ <Target Name="BeforeBuild">
+ </Target>
+ <Target Name="AfterBuild">
+ </Target>
+ -->
+ <PropertyGroup>
+ <PreBuildEvent>
+ </PreBuildEvent>
+ <PostBuildEvent>
+ xcopy $(TargetName).* $(ProjectDir)..\lib\net_3_5\ /Y /R /D
+ </PostBuildEvent>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="mscorlib">
+ <HintPath>..\lib\net_3_5\mscorlib.dll</HintPath>
+ </Reference>
+ <Reference Include="System.Core">
+ <HintPath>..\lib\net_3_5\System.Core.dll</HintPath>
+ </Reference>
+ <Reference Include="nunit.framework">
+ <HintPath>..\lib\net_3_5\nunit.framework.dll</HintPath>
+ </Reference>
+ </ItemGroup>
+ <ItemGroup>
+ <ProjectReference Include="Mono.XBuild.Tasks-net_3_5.csproj">
+ <Project>{7B888FCD-9064-4F4A-954E-795B43F98127}</Project>
+ <Name>Mono.XBuild.Tasks-net_3_5</Name>
+ </ProjectReference>
+ </ItemGroup>
+</Project>
diff --git a/mcs/class/Mono.XBuild.Tasks/Mono.XBuild.Tasks-tests-net_4_0.csproj b/mcs/class/Mono.XBuild.Tasks/Mono.XBuild.Tasks-tests-net_4_0.csproj
new file mode 100644
index 00000000000..0e005df2bc5
--- /dev/null
+++ b/mcs/class/Mono.XBuild.Tasks/Mono.XBuild.Tasks-tests-net_4_0.csproj
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>9.0.30729</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{0C851F1F-CF06-4440-8E69-F33FBF07D605}</ProjectGuid>
+ <OutputType>Library</OutputType>
+ <NoWarn>1699</NoWarn>
+ <OutputPath>bin\Debug\Mono.XBuild.Tasks-tests-net_4_0</OutputPath>
+ <NoStdLib>True</NoStdLib>
+ <NoConfig>False</NoConfig>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <AssemblyName>Mono.XBuild.Tasks_test_net_4_0</AssemblyName>
+ <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
+ <FileAlignment>512</FileAlignment>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <DefineConstants>DEBUG;TRACE;NET_2_0;NET_3_0;NET_3_5;NET_4_0</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <DefineConstants>NET_2_0;NET_3_0;NET_3_5;NET_4_0</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <!-- Set AddAdditionalExplicitAssemblyReferences to false, otherwise if targetting .NET4.0,
+ Microsoft.NETFramework.props will force a dependency on the assembly System.Core. This
+ is a problem to compile the Mono mscorlib.dll -->
+ <PropertyGroup>
+ <AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
+ </PropertyGroup>
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+ <ItemGroup>
+ <Compile Include="Test\Mono.XBuild.Tasks\PcFileCacheTest.cs" />
+ </ItemGroup>
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+ Other similar extension points exist, see Microsoft.Common.targets.
+ <Target Name="BeforeBuild">
+ </Target>
+ <Target Name="AfterBuild">
+ </Target>
+ -->
+ <PropertyGroup>
+ <PreBuildEvent>
+ </PreBuildEvent>
+ <PostBuildEvent>
+ xcopy $(TargetName).* $(ProjectDir)..\lib\net_4_0\ /Y /R /D
+ </PostBuildEvent>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="mscorlib">
+ <HintPath>..\lib\net_4_0\mscorlib.dll</HintPath>
+ </Reference>
+ <Reference Include="System.Core">
+ <HintPath>..\lib\net_4_0\System.Core.dll</HintPath>
+ </Reference>
+ <Reference Include="nunit.framework">
+ <HintPath>..\lib\net_4_0\nunit.framework.dll</HintPath>
+ </Reference>
+ </ItemGroup>
+ <ItemGroup>
+ <ProjectReference Include="Mono.XBuild.Tasks-net_4_0.csproj">
+ <Project>{F7F03F9B-6E7A-43BD-993A-7F197A440150}</Project>
+ <Name>Mono.XBuild.Tasks-net_4_0</Name>
+ </ProjectReference>
+ </ItemGroup>
+</Project>
diff --git a/mcs/class/Mono.XBuild.Tasks/Mono.XBuild.Tasks-tests-net_4_5.csproj b/mcs/class/Mono.XBuild.Tasks/Mono.XBuild.Tasks-tests-net_4_5.csproj
new file mode 100644
index 00000000000..e1c568b4579
--- /dev/null
+++ b/mcs/class/Mono.XBuild.Tasks/Mono.XBuild.Tasks-tests-net_4_5.csproj
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>9.0.30729</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{74FC4C23-BF2E-4514-82D2-E99561BF352C}</ProjectGuid>
+ <OutputType>Library</OutputType>
+ <NoWarn>1699</NoWarn>
+ <OutputPath>bin\Debug\Mono.XBuild.Tasks-tests-net_4_5</OutputPath>
+ <NoStdLib>True</NoStdLib>
+ <NoConfig>False</NoConfig>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <AssemblyName>Mono.XBuild.Tasks_test_net_4_5</AssemblyName>
+ <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+ <FileAlignment>512</FileAlignment>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <DefineConstants>DEBUG;TRACE;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <DefineConstants>NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <!-- Set AddAdditionalExplicitAssemblyReferences to false, otherwise if targetting .NET4.0,
+ Microsoft.NETFramework.props will force a dependency on the assembly System.Core. This
+ is a problem to compile the Mono mscorlib.dll -->
+ <PropertyGroup>
+ <AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
+ </PropertyGroup>
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+ <ItemGroup>
+ <Compile Include="Test\Mono.XBuild.Tasks\PcFileCacheTest.cs" />
+ </ItemGroup>
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+ Other similar extension points exist, see Microsoft.Common.targets.
+ <Target Name="BeforeBuild">
+ </Target>
+ <Target Name="AfterBuild">
+ </Target>
+ -->
+ <PropertyGroup>
+ <PreBuildEvent>
+ </PreBuildEvent>
+ <PostBuildEvent>
+ xcopy $(TargetName).* $(ProjectDir)..\lib\net_4_5\ /Y /R /D
+ </PostBuildEvent>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="mscorlib">
+ <HintPath>..\lib\net_4_5\mscorlib.dll</HintPath>
+ </Reference>
+ <Reference Include="System.Core">
+ <HintPath>..\lib\net_4_5\System.Core.dll</HintPath>
+ </Reference>
+ <Reference Include="nunit.framework">
+ <HintPath>..\lib\net_4_5\nunit.framework.dll</HintPath>
+ </Reference>
+ </ItemGroup>
+ <ItemGroup>
+ <ProjectReference Include="Mono.XBuild.Tasks-net_4_5.csproj">
+ <Project>{9AC58525-C730-4552-A8FA-332979FCD055}</Project>
+ <Name>Mono.XBuild.Tasks-net_4_5</Name>
+ </ProjectReference>
+ </ItemGroup>
+</Project>
diff --git a/mcs/class/Mono.XBuild.Tasks/Mono.XBuild.Tasks.dll.sources b/mcs/class/Mono.XBuild.Tasks/Mono.XBuild.Tasks.dll.sources
new file mode 100644
index 00000000000..60955c07e07
--- /dev/null
+++ b/mcs/class/Mono.XBuild.Tasks/Mono.XBuild.Tasks.dll.sources
@@ -0,0 +1,6 @@
+Assembly/AssemblyInfo.cs
+../../build/common/Consts.cs
+../../build/common/MonoTODOAttribute.cs
+Mono.XBuild.Tasks/PcFileCache.cs
+Mono.XBuild.Tasks/LibraryPcFileCache.cs
+../Microsoft.Build.Utilities/Mono.XBuild.Utilities/MSBuildUtils.cs
diff --git a/mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks/LibraryPcFileCache.cs b/mcs/class/Mono.XBuild.Tasks/Mono.XBuild.Tasks/LibraryPcFileCache.cs
index f29a591f56a..c89cba9a95f 100644
--- a/mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks/LibraryPcFileCache.cs
+++ b/mcs/class/Mono.XBuild.Tasks/Mono.XBuild.Tasks/LibraryPcFileCache.cs
@@ -36,7 +36,7 @@ using System.Collections.Generic;
namespace Mono.PkgConfig
{
- internal class LibraryPcFileCache: PcFileCache<LibraryPackageInfo>
+ public class LibraryPcFileCache: PcFileCache<LibraryPackageInfo>
{
Dictionary<string, PackageAssemblyInfo> assemblyLocations;
@@ -251,7 +251,7 @@ namespace Mono.PkgConfig
}
}
- internal class LibraryPackageInfo: PackageInfo
+ public class LibraryPackageInfo: PackageInfo
{
public bool IsGacPackage {
get { return GetData ("gacPackage") != "false"; }
@@ -270,7 +270,7 @@ namespace Mono.PkgConfig
}
}
- internal class PackageAssemblyInfo
+ public class PackageAssemblyInfo
{
public string File { get; set; }
diff --git a/mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks/PcFileCache.cs b/mcs/class/Mono.XBuild.Tasks/Mono.XBuild.Tasks/PcFileCache.cs
index aa96a318fc8..515f463ae86 100644
--- a/mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks/PcFileCache.cs
+++ b/mcs/class/Mono.XBuild.Tasks/Mono.XBuild.Tasks/PcFileCache.cs
@@ -36,7 +36,7 @@ using System.Collections.Generic;
namespace Mono.PkgConfig
{
- internal interface IPcFileCacheContext<TP> where TP:PackageInfo, new()
+ public interface IPcFileCacheContext<TP> where TP:PackageInfo, new()
{
// In the implementation of this method, the host application can extract
// information from the pc file and store it in the PackageInfo object
@@ -50,18 +50,18 @@ namespace Mono.PkgConfig
void ReportError (string message, Exception ex);
}
- internal interface IPcFileCacheContext: IPcFileCacheContext<PackageInfo>
+ public interface IPcFileCacheContext: IPcFileCacheContext<PackageInfo>
{
}
- internal abstract class PcFileCache: PcFileCache<PackageInfo>
+ public abstract class PcFileCache: PcFileCache<PackageInfo>
{
public PcFileCache (IPcFileCacheContext ctx): base (ctx)
{
}
}
- internal abstract class PcFileCache<TP> where TP:PackageInfo, new()
+ public abstract class PcFileCache<TP> where TP:PackageInfo, new()
{
const string CACHE_VERSION = "2";
const string MacOSXExternalPkgConfigDir = "/Library/Frameworks/Mono.framework/External/pkgconfig";
@@ -449,7 +449,7 @@ namespace Mono.PkgConfig
}
}
- internal class PcFile
+ public class PcFile
{
Dictionary<string,string> variables = new Dictionary<string, string> ();
@@ -575,7 +575,7 @@ namespace Mono.PkgConfig
}
}
- internal class PackageInfo
+ public class PackageInfo
{
Dictionary<string,string> customData;
DateTime lastWriteTime;
diff --git a/mcs/class/Mono.XBuild.Tasks/Mono.XBuild.Tasks_test.dll.sources b/mcs/class/Mono.XBuild.Tasks/Mono.XBuild.Tasks_test.dll.sources
new file mode 100644
index 00000000000..0dbb1260ba9
--- /dev/null
+++ b/mcs/class/Mono.XBuild.Tasks/Mono.XBuild.Tasks_test.dll.sources
@@ -0,0 +1 @@
+Mono.XBuild.Tasks/PcFileCacheTest.cs
diff --git a/mcs/class/Mono.XBuild.Tasks/Test/Mono.XBuild.Tasks/PcFileCacheTest.cs b/mcs/class/Mono.XBuild.Tasks/Test/Mono.XBuild.Tasks/PcFileCacheTest.cs
new file mode 100644
index 00000000000..2c3b3ab1443
--- /dev/null
+++ b/mcs/class/Mono.XBuild.Tasks/Test/Mono.XBuild.Tasks/PcFileCacheTest.cs
@@ -0,0 +1,34 @@
+//
+// PcFileCacheTest.cs
+//
+// Author:
+// Antonius Riha <antoniusriha@gmail.com>
+//
+// Copyright (c) 2013 Antonius Riha
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+using NUnit.Framework;
+
+namespace MonoTests.Microsoft.Build.Tasks
+{
+ [TestFixture]
+ public class PcFileCacheTest
+ {
+ }
+}