Update csproj files
[mono.git] / mcs / class / I18N / Rare / I18N.Rare-net_2_0.csproj
index c53b25aa7e6ce07fe2d7f7647beb8bf71959cf46..1b03a7f0dba1922f4fd0d281e6cf2b508a97b5bf 100644 (file)
@@ -1,34 +1,32 @@
 <?xml version="1.0" encoding="utf-8"?>\r
-<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">\r
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">\r
   <PropertyGroup>\r
     <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>\r
     <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>{6B85E9FF-0DEC-4DBA-9388-560B95A7EC2A}</ProjectGuid>\r
     <OutputType>Library</OutputType>\r
     <NoWarn>1699</NoWarn>\r
-    <OutputPath>./../../../class/lib/net_2_0/tmp</OutputPath>\r
-    <DefineConstants>NET_1_1;NET_2_0</DefineConstants>\r
-    <NoStdLib>true</NoStdLib>\r
+    <OutputPath>bin\Debug\I18N.Rare-net_2_0</OutputPath>\r
+    <NoStdLib>True</NoStdLib>\r
+    <NoConfig>True</NoConfig>\r
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>\r
     <AppDesignerFolder>Properties</AppDesignerFolder>\r
-    <RootNamespace>mscorlib</RootNamespace>\r
+    <RootNamespace>\r
+    </RootNamespace>\r
     <AssemblyName>I18N.Rare</AssemblyName>\r
-    <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>\r
+    <TargetFrameworkVersion>v2.0</TargetFrameworkVersion>\r
     <FileAlignment>512</FileAlignment>\r
-    <StartupObject>\r
-    </StartupObject>\r
   </PropertyGroup>\r
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">\r
     <DebugSymbols>true</DebugSymbols>\r
     <DebugType>full</DebugType>\r
     <NoWarn>1699</NoWarn>\r
-    <Optimize>true</Optimize>\r
-    <DefineConstants>NET_1_1;NET_2_0</DefineConstants>\r
+    <Optimize>false</Optimize>\r
+    <DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0</DefineConstants>\r
     <ErrorReport>prompt</ErrorReport>\r
     <WarningLevel>4</WarningLevel>\r
-    <AdditionalLibPaths>./../../../class/lib/net_2_0</AdditionalLibPaths>\r
   </PropertyGroup>\r
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">\r
     <DebugType>pdbonly</DebugType>\r
     <DefineConstants>NET_1_1;NET_2_0</DefineConstants>\r
     <ErrorReport>prompt</ErrorReport>\r
     <WarningLevel>4</WarningLevel>\r
-    <AdditionalLibPaths>./../../../class/lib/net_2_0</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="..\Assembly\AssemblyInfo.cs" />
-   <Compile Include="..\..\..\build\common\Consts.cs" />
-   <Compile Include="CP866.cs" />
-   <Compile Include="CP1026.cs" />
-   <Compile Include="CP869.cs" />
-   <Compile Include="CP870.cs" />
-   <Compile Include="CP875.cs" />
-   <Compile Include="CP1047.cs" />
-   <Compile Include="CP1140.cs" />
-   <Compile Include="CP1141.cs" />
-   <Compile Include="CP1142.cs" />
-   <Compile Include="CP1143.cs" />
-   <Compile Include="CP1144.cs" />
-   <Compile Include="CP1145.cs" />
-   <Compile Include="CP1146.cs" />
-   <Compile Include="CP1147.cs" />
-   <Compile Include="CP1148.cs" />
-   <Compile Include="CP1149.cs" />
-   <Compile Include="CP20273.cs" />
-   <Compile Include="CP20277.cs" />
-   <Compile Include="CP20278.cs" />
-   <Compile Include="CP20280.cs" />
-   <Compile Include="CP20284.cs" />
-   <Compile Include="CP20285.cs" />
-   <Compile Include="CP20290.cs" />
-   <Compile Include="CP20297.cs" />
-   <Compile Include="CP20420.cs" />
-   <Compile Include="CP20424.cs" />
-   <Compile Include="CP20871.cs" />
-   <Compile Include="CP21025.cs" />
-   <Compile Include="CP37.cs" />
-   <Compile Include="CP500.cs" />
-   <Compile Include="CP708.cs" />
-   <Compile Include="CP852.cs" />
-   <Compile Include="CP855.cs" />
-   <Compile Include="CP857.cs" />
-   <Compile Include="CP858.cs" />
-   <Compile Include="CP862.cs" />
-   <Compile Include="CP864.cs" />
-\r
-  </ItemGroup>\r
+    <Compile Include="..\..\..\build\common\Consts.cs" />\r
+    <Compile Include="..\Assembly\AssemblyInfo.cs" />\r
+    <Compile Include="CP1026.cs" />\r
+    <Compile Include="CP1047.cs" />\r
+    <Compile Include="CP1140.cs" />\r
+    <Compile Include="CP1141.cs" />\r
+    <Compile Include="CP1142.cs" />\r
+    <Compile Include="CP1143.cs" />\r
+    <Compile Include="CP1144.cs" />\r
+    <Compile Include="CP1145.cs" />\r
+    <Compile Include="CP1146.cs" />\r
+    <Compile Include="CP1147.cs" />\r
+    <Compile Include="CP1148.cs" />\r
+    <Compile Include="CP1149.cs" />\r
+    <Compile Include="CP20273.cs" />\r
+    <Compile Include="CP20277.cs" />\r
+    <Compile Include="CP20278.cs" />\r
+    <Compile Include="CP20280.cs" />\r
+    <Compile Include="CP20284.cs" />\r
+    <Compile Include="CP20285.cs" />\r
+    <Compile Include="CP20290.cs" />\r
+    <Compile Include="CP20297.cs" />\r
+    <Compile Include="CP20420.cs" />\r
+    <Compile Include="CP20424.cs" />\r
+    <Compile Include="CP20871.cs" />\r
+    <Compile Include="CP21025.cs" />\r
+    <Compile Include="CP37.cs" />\r
+    <Compile Include="CP500.cs" />\r
+    <Compile Include="CP708.cs" />\r
+    <Compile Include="CP852.cs" />\r
+    <Compile Include="CP855.cs" />\r
+    <Compile Include="CP857.cs" />\r
+    <Compile Include="CP858.cs" />\r
+    <Compile Include="CP862.cs" />\r
+    <Compile Include="CP864.cs" />\r
+    <Compile Include="CP866.cs" />\r
+    <Compile Include="CP869.cs" />\r
+    <Compile Include="CP870.cs" />\r
+    <Compile Include="CP875.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
-  </PropertyGroup>\r
-  <ItemGroup>
-    <Reference Include="mscorlib.dll">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>..\..\\lib\build\mscorlib.dll</HintPath>
-    </Reference>
-    <Reference Include="I18N.dll">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>..\..\\lib\build\I18N.dll</HintPath>
-    </Reference>
-    <Reference Include="mscorlib.dll">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>..\..\\lib\build\mscorlib.dll</HintPath>
-    </Reference>
-  </ItemGroup>
+    <PreBuildEvent>\r
 \r
+    </PreBuildEvent>\r
+    <PostBuildEvent>\r
+      xcopy $(TargetName).* $(ProjectDir)..\lib\net_2_0\ /Y /R /D\r
+  </PostBuildEvent>\r
+  </PropertyGroup>\r
+  <ItemGroup>\r
+    <ProjectReference Include="..\corlib\corlib-net_2_0.csproj">\r
+      <Project>{EB7444A6-C3E6-4224-BDB0-63CA3B4F2B87}</Project>\r
+      <Name>corlib\corlib-net_2_0</Name>\r
+    </ProjectReference>\r
+    <ProjectReference Include="..\I18N\Common\I18N-net_2_0.csproj">\r
+      <Project>{B4A11584-7362-47A0-9E27-0E4DE9539D77}</Project>\r
+      <Name>Common\I18N-net_2_0</Name>\r
+    </ProjectReference>\r
+  </ItemGroup>\r
   <ItemGroup>\r
     <Folder Include="Properties\" />\r
   </ItemGroup>\r
-  \r
-</Project>\r
-
+</Project>