Merge pull request #1068 from esdrubal/bug18421
[mono.git] / mcs / class / System.Runtime.Caching / System.Runtime.Caching-net_4_5.csproj
index f4175319f77273e16bd70edb96723cca757223c2..40003195c3e8384ebc1a0fd12e056b6d3987a725 100644 (file)
@@ -5,22 +5,22 @@
     <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>\r
     <ProductVersion>9.0.30729</ProductVersion>\r
     <SchemaVersion>2.0</SchemaVersion>\r
-    <ProjectGuid>{155AEF28-C81F-405D-9072-9D52780E3E70}</ProjectGuid>\r
+    <ProjectGuid>{CB3E9225-3DFF-4930-BFED-1E8AE5319C32}</ProjectGuid>\r
     <OutputType>Library</OutputType>\r
     <NoWarn>1699</NoWarn>\r
     <OutputPath>./../../class/lib/net_4_5</OutputPath>\r
-    <NoStdLib>true</NoStdLib>\r
+    <NoStdLib>True</NoStdLib>\r
+    <NoConfig>True</NoConfig>\r
     \r
     <AppDesignerFolder>Properties</AppDesignerFolder>\r
-    <RootNamespace></RootNamespace>\r
+    <RootNamespace>\r
+    </RootNamespace>\r
     <AssemblyName>System.Runtime.Caching</AssemblyName>\r
     <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>\r
     <FileAlignment>512</FileAlignment>\r
-    <!-- Filter out System.Core added by: Microsoft.NETFramework.props  -->\r
-    <AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>\r
   </PropertyGroup>\r
+  \r
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">\r
-    <PlatformTarget>AnyCPU</PlatformTarget>\r
     <DebugSymbols>true</DebugSymbols>\r
     <DebugType>full</DebugType>\r
     <NoWarn>1699</NoWarn>\r
     <DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>\r
     <ErrorReport>prompt</ErrorReport>\r
     <WarningLevel>4</WarningLevel>\r
-    <AdditionalLibPaths>./../../class/lib/net_4_5</AdditionalLibPaths>\r
   </PropertyGroup>\r
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">\r
-    <PlatformTarget>AnyCPU</PlatformTarget>  \r
     <DebugType>pdbonly</DebugType>\r
     <NoWarn>1699</NoWarn>\r
     <Optimize>true</Optimize>\r
     <DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>\r
     <ErrorReport>prompt</ErrorReport>\r
     <WarningLevel>4</WarningLevel>\r
-    <AdditionalLibPaths>./../../class/lib/net_4_5</AdditionalLibPaths>\r
+  </PropertyGroup>\r
+  <!-- Set AddAdditionalExplicitAssemblyReferences to false, otherwise if targetting .NET4.0, \r
+  Microsoft.NETFramework.props will force a dependency on the assembly System.Core. This\r
+  is a problem to compile the Mono mscorlib.dll -->\r
+  <PropertyGroup>\r
+    <AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>\r
   </PropertyGroup>\r
   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />\r
   <ItemGroup>\r
-   <Compile Include="..\..\build\common\Consts.cs" />
-   <Compile Include="..\..\build\common\Locale.cs" />
-   <Compile Include="..\..\build\common\MonoTODOAttribute.cs" />
-   <Compile Include="..\System.Web\System.Web.Configuration_2.0\NullableStringValidator.cs" />
-   <Compile Include="Assembly\AssemblyInfo.cs" />
-   <Compile Include="System.Runtime.Caching\CacheEntryChangeMonitor.cs" />
-   <Compile Include="System.Runtime.Caching\CacheEntryRemovedArguments.cs" />
-   <Compile Include="System.Runtime.Caching\CacheEntryRemovedCallback.cs" />
-   <Compile Include="System.Runtime.Caching\CacheEntryRemovedReason.cs" />
-   <Compile Include="System.Runtime.Caching\CacheEntryUpdateArguments.cs" />
-   <Compile Include="System.Runtime.Caching\CacheEntryUpdateCallback.cs" />
-   <Compile Include="System.Runtime.Caching\CacheItem.cs" />
-   <Compile Include="System.Runtime.Caching\CacheItemPolicy.cs" />
-   <Compile Include="System.Runtime.Caching\CacheItemPriority.cs" />
-   <Compile Include="System.Runtime.Caching\ChangeMonitor.cs" />
-   <Compile Include="System.Runtime.Caching\DefaultCacheCapabilities.cs" />
-   <Compile Include="System.Runtime.Caching\FileChangeMonitor.cs" />
-   <Compile Include="System.Runtime.Caching\FileChangeNotificationSystem.cs" />
-   <Compile Include="System.Runtime.Caching\FileChangeNotificationSystemEntry.cs" />
-   <Compile Include="System.Runtime.Caching\Helpers.cs" />
-   <Compile Include="System.Runtime.Caching\HostFileChangeMonitor.cs" />
-   <Compile Include="System.Runtime.Caching\MemoryCache.cs" />
-   <Compile Include="System.Runtime.Caching\MemoryCacheContainer.cs" />
-   <Compile Include="System.Runtime.Caching\MemoryCacheEntry.cs" />
-   <Compile Include="System.Runtime.Caching\MemoryCacheEntryChangeMonitor.cs" />
-   <Compile Include="System.Runtime.Caching\MemoryCacheLRU.cs" />
-   <Compile Include="System.Runtime.Caching\MemoryCachePerformanceCounters.cs" />
-   <Compile Include="System.Runtime.Caching\MemoryCacheEntryPriorityQueue.cs" />
-   <Compile Include="System.Runtime.Caching\ObjectCache.cs" />
-   <Compile Include="System.Runtime.Caching\OnChangedCallback.cs" />
-   <Compile Include="System.Runtime.Caching\SqlChangeMonitor.cs" />
-   <Compile Include="System.Runtime.Caching.Configuration\CachingSectionGroup.cs" />
-   <Compile Include="System.Runtime.Caching.Configuration\MemoryCacheSection.cs" />
-   <Compile Include="System.Runtime.Caching.Configuration\MemoryCacheSettingsCollection.cs" />
-   <Compile Include="System.Runtime.Caching.Configuration\MemoryCacheElement.cs" />
-   <Compile Include="System.Runtime.Caching.Hosting\IApplicationIdentifier.cs" />
-   <Compile Include="System.Runtime.Caching.Hosting\IFileChangeNotificationSystem.cs" />
-   <Compile Include="System.Runtime.Caching.Hosting\IMemoryCacheManager.cs" />
-\r
-  </ItemGroup>\r
+    <Compile Include="..\..\build\common\Consts.cs" />\r
+    <Compile Include="..\..\build\common\Locale.cs" />\r
+    <Compile Include="..\..\build\common\MonoTODOAttribute.cs" />\r
+    <Compile Include="..\System.Web\System.Web.Configuration_2.0\NullableStringValidator.cs" />\r
+    <Compile Include="Assembly\AssemblyInfo.cs" />\r
+    <Compile Include="System.Runtime.Caching.Configuration\CachingSectionGroup.cs" />\r
+    <Compile Include="System.Runtime.Caching.Configuration\MemoryCacheElement.cs" />\r
+    <Compile Include="System.Runtime.Caching.Configuration\MemoryCacheSection.cs" />\r
+    <Compile Include="System.Runtime.Caching.Configuration\MemoryCacheSettingsCollection.cs" />\r
+    <Compile Include="System.Runtime.Caching.Hosting\IApplicationIdentifier.cs" />\r
+    <Compile Include="System.Runtime.Caching.Hosting\IFileChangeNotificationSystem.cs" />\r
+    <Compile Include="System.Runtime.Caching.Hosting\IMemoryCacheManager.cs" />\r
+    <Compile Include="System.Runtime.Caching\CacheEntryChangeMonitor.cs" />\r
+    <Compile Include="System.Runtime.Caching\CacheEntryRemovedArguments.cs" />\r
+    <Compile Include="System.Runtime.Caching\CacheEntryRemovedCallback.cs" />\r
+    <Compile Include="System.Runtime.Caching\CacheEntryRemovedReason.cs" />\r
+    <Compile Include="System.Runtime.Caching\CacheEntryUpdateArguments.cs" />\r
+    <Compile Include="System.Runtime.Caching\CacheEntryUpdateCallback.cs" />\r
+    <Compile Include="System.Runtime.Caching\CacheItem.cs" />\r
+    <Compile Include="System.Runtime.Caching\CacheItemPolicy.cs" />\r
+    <Compile Include="System.Runtime.Caching\CacheItemPriority.cs" />\r
+    <Compile Include="System.Runtime.Caching\ChangeMonitor.cs" />\r
+    <Compile Include="System.Runtime.Caching\DefaultCacheCapabilities.cs" />\r
+    <Compile Include="System.Runtime.Caching\FileChangeMonitor.cs" />\r
+    <Compile Include="System.Runtime.Caching\FileChangeNotificationSystem.cs" />\r
+    <Compile Include="System.Runtime.Caching\FileChangeNotificationSystemEntry.cs" />\r
+    <Compile Include="System.Runtime.Caching\Helpers.cs" />\r
+    <Compile Include="System.Runtime.Caching\HostFileChangeMonitor.cs" />\r
+    <Compile Include="System.Runtime.Caching\MemoryCache.cs" />\r
+    <Compile Include="System.Runtime.Caching\MemoryCacheContainer.cs" />\r
+    <Compile Include="System.Runtime.Caching\MemoryCacheEntry.cs" />\r
+    <Compile Include="System.Runtime.Caching\MemoryCacheEntryChangeMonitor.cs" />\r
+    <Compile Include="System.Runtime.Caching\MemoryCacheEntryPriorityQueue.cs" />\r
+    <Compile Include="System.Runtime.Caching\MemoryCacheLRU.cs" />\r
+    <Compile Include="System.Runtime.Caching\MemoryCachePerformanceCounters.cs" />\r
+    <Compile Include="System.Runtime.Caching\ObjectCache.cs" />\r
+    <Compile Include="System.Runtime.Caching\OnChangedCallback.cs" />\r
+    <Compile Include="System.Runtime.Caching\SqlChangeMonitor.cs" />\r  </ItemGroup>\r
   <!-- To modify your build process, add your task inside one of the targets below and uncomment it. \r
        Other similar extension points exist, see Microsoft.Common.targets.\r
   <Target Name="BeforeBuild">\r
   </Target>\r
   -->\r
   <PropertyGroup>\r
-    <PreBuildEvent></PreBuildEvent>\r
+    <PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
+
+    </PreBuildEvent>
+    <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
+
+    </PreBuildEvent>
+\r
+    <PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
+
+    </PostBuildEvent>
+    <PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
+
+    </PostBuildEvent>\r
   </PropertyGroup>\r
   <ItemGroup>\r
-    <Reference Include="mscorlib.dll">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>mscorlib.dll</HintPath>
-    </Reference>
-    <Reference Include="System.dll">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>System.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Data.dll">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>System.Data.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Configuration.dll">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>System.Configuration.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Core.dll">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>System.Core.dll</HintPath>
-    </Reference>
-\r
+    <ProjectReference Include="../corlib/corlib-net_4_5.csproj">\r
+      <Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>\r
+      <Name>corlib-net_4_5</Name>\r
+    </ProjectReference>\r
+    <ProjectReference Include="../System/System-net_4_5.csproj">\r
+      <Project>{FFAC0B73-D997-493B-9C62-27656CD858BB}</Project>\r
+      <Name>System-net_4_5</Name>\r
+    </ProjectReference>\r
+    <ProjectReference Include="../System.Data/System.Data-net_4_5.csproj">\r
+      <Project>{9A33954F-57A8-4D75-B1D8-0F81808A0DD4}</Project>\r
+      <Name>System.Data-net_4_5</Name>\r
+    </ProjectReference>\r
+    <ProjectReference Include="../System.Configuration/System.Configuration-net_4_5.csproj">\r
+      <Project>{D52A2CEA-245E-4877-950E-3EAC5F541B8E}</Project>\r
+      <Name>System.Configuration-net_4_5</Name>\r
+    </ProjectReference>\r
+    <ProjectReference Include="../System.Core/System.Core-net_4_5.csproj">\r
+      <Project>{D92530F4-3F2B-4351-BD21-9D6BEE6D2A4E}</Project>\r
+      <Name>System.Core-net_4_5</Name>\r
+    </ProjectReference>\r
   </ItemGroup>\r
   <ItemGroup>\r
     <Folder Include="Properties\" />\r
   </ItemGroup>\r
-  \r
 </Project>\r