* Add start of building net_2_0 profile to MSBuild based build.
svn path=/trunk/mcs/; revision=158840
<PropertyGroup Condition=" '$(Configuration)' == 'net_2_0_bootstrap' ">\r
<OutputPath Condition=" '$(OutputPath)' == '' ">$(MSBuildProjectDirectory)\..\lib\net_2_0_bootstrap\</OutputPath>\r
</PropertyGroup>\r
+ <PropertyGroup>\r
+ <OutputPath Condition=" '$(OutputPath)' == '' ">$(MSBuildProjectDirectory)\..\lib\$(Configuration)\</OutputPath>\r
+ </PropertyGroup>\r
<Target Name="SetupProject">\r
<Copy SourceFiles="$(ResponseFile)" DestinationFiles="$(ResponseFile).msbuild"/>\r
<MSBuild.ExtensionPack.FileSystem.File TaskAction="Replace" RegexPattern="/" Replacement="\" Files="$(ResponseFile).msbuild"/>\r
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'basic|AnyCPU' ">
<DefineConstants>BOOTSTRAP_BASIC,NET_1_1,NET_2_0</DefineConstants>
</PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'net_2_0|AnyCPU' ">
+ <DefineConstants>NET_1_1,NET_2_0</DefineConstants>
+ </PropertyGroup>
<ItemGroup>
<Reference Include="System.dll"/>
</ItemGroup>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="3.5" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <OutputType>Library</OutputType>
+ <AssemblyName>$(MSBuildProjectName)</AssemblyName>
+ <TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
+ <NoWarn>0618,612</NoWarn>
+ <NoConfig>true</NoConfig>
+ <CodePage>65001</CodePage>
+ <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+ <UseVSHostingProcess>false</UseVSHostingProcess>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'net_2_0|AnyCPU' ">
+ <DefineConstants>NET_1_1,NET_2_0</DefineConstants>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="System.dll"/>
+ </ItemGroup>
+ <Import Project="$(MSBuildProjectDirectory)\..\..\build\msbuild\Mono.Common.targets"/>
+ <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
+ <Target Name="BeforeBuild" DependsOnTargets="SetupProject">
+ </Target>
+</Project>
\ No newline at end of file
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'basic|AnyCPU' ">
<DefineConstants>BOOTSTRAP_BASIC,NET_1_1,NET_2_0,INSIDE_SYSCORE,LIBC,NET_3_5</DefineConstants>
</PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'net_2_0|AnyCPU' ">
+ <DefineConstants>NET_1_1,NET_2_0,INSIDE_SYSCORE,LIBC,NET_3_5</DefineConstants>
+ </PropertyGroup>
<ItemGroup>
<Reference Include="System.dll"/>
+ <Reference Include="Mono.Posix">
+ <HintPath>..\lib\net_2_0\Mono.Posix.dll</HintPath>
+ </Reference>
</ItemGroup>
<Import Project="$(MSBuildProjectDirectory)\..\..\build\msbuild\Mono.Common.targets"/>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'basic|AnyCPU' ">
<DefineConstants>BOOTSTRAP_BASIC,NET_1_1,NET_2_0</DefineConstants>
</PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'net_2_0|AnyCPU' ">
+ <DefineConstants>NET_1_1,NET_2_0</DefineConstants>
+ </PropertyGroup>
<ItemGroup>
<Compile Include="System.Xml.XPath\Parser.cs"/>
<Compile Include="Mono.Xml.Xsl\PatternParser.cs"/>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'basic_XML_DEP|AnyCPU' ">
<DefineConstants>BOOTSTRAP_BASIC,NET_1_1,NET_2_0,CONFIGURATION_2_0,XML_DEP</DefineConstants>
</PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'net_2_0|AnyCPU' ">
+ <DefineConstants>NET_1_1,NET_2_0,CONFIGURATION_2_0</DefineConstants>
+ </PropertyGroup>
<ItemGroup>
<EmbeddedResource Include="resources\Asterisk.wav"/>
<EmbeddedResource Include="resources\Beep.wav"/>
<CodePage>65001</CodePage>
<UseVSHostingProcess>false</UseVSHostingProcess>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+ <ProjectGuid>{72E6D902-9CE6-4F09-91E7-6D48B965DCFA}</ProjectGuid>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'basic|AnyCPU' ">
<DefineConstants>INSIDE_CORLIB,NET_1_1,NET_2_0,LIBC,BOOTSTRAP_BASIC</DefineConstants>
</PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'net_2_0_bootstrap|AnyCPU' ">
- <DefineConstants>INSIDE_CORLIB,NET_1_1,NET_2_0,LIBC,BOOTSTRAP_BASIC</DefineConstants>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'net_2_0|AnyCPU' ">
+ <DefineConstants>INSIDE_CORLIB,NET_1_1,NET_2_0,LIBC</DefineConstants>
+ <SignAssembly>true</SignAssembly>
+ <AssemblyOriginatorKeyFile>..\mono.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<ItemGroup>
- <EmbeddedResource Include="resources\collation.core.bin"/>
- <EmbeddedResource Include="resources\collation.tailoring.bin"/>
- <EmbeddedResource Include="resources\collation.cjkCHS.bin"/>
- <EmbeddedResource Include="resources\collation.cjkCHT.bin"/>
- <EmbeddedResource Include="resources\collation.cjkJA.bin"/>
- <EmbeddedResource Include="resources\collation.cjkKO.bin"/>
- <EmbeddedResource Include="resources\collation.cjkKOlv2.bin"/>
+ <EmbeddedResource Include="resources\collation.core.bin" />
+ <EmbeddedResource Include="resources\collation.tailoring.bin" />
+ <EmbeddedResource Include="resources\collation.cjkCHS.bin" />
+ <EmbeddedResource Include="resources\collation.cjkCHT.bin" />
+ <EmbeddedResource Include="resources\collation.cjkJA.bin" />
+ <EmbeddedResource Include="resources\collation.cjkKO.bin" />
+ <EmbeddedResource Include="resources\collation.cjkKOlv2.bin" />
</ItemGroup>
- <Import Project="$(MSBuildProjectDirectory)\..\..\build\msbuild\Mono.Common.targets"/>
+ <Import Project="$(MSBuildProjectDirectory)\..\..\build\msbuild\Mono.Common.targets" />
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<Target Name="BeforeBuild" DependsOnTargets="SetupProject">
</Target>
<?xml version="1.0" encoding="utf-8"?>\r
<Project ToolsVersion="3.5" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">\r
<Target Name="Build">\r
+ <!-- basic profile -->\r
<MSBuild Projects="build\build.proj"/>\r
- <MSBuild Projects="mcs\gmcs2.csproj" Targets="Build" Properties="Configuration=basic;Platform=AnyCPU"/>\r
<MSBuild Projects="jay\jay2008.vcproj"/>\r
+ <MSBuild Projects="mcs\gmcs2.csproj" Targets="Build" Properties="Configuration=basic;Platform=AnyCPU"/>\r
<MSBuild Projects="class\corlib\corlib.csproj" Targets="Build" Properties="Configuration=basic;Platform=AnyCPU"/>\r
<MSBuild Projects="class\System\System.csproj" Targets="Build" Properties="Configuration=basic;Platform=AnyCPU"/>\r
<MSBuild Projects="class\System.Xml\System.Xml.csproj" Targets="Build" Properties="Configuration=basic;Platform=AnyCPU"/>\r
<MSBuild Projects="class\System.Core\System.Core.csproj" Targets="Build" Properties="Configuration=basic;Platform=AnyCPU"/>\r
<MSBuild Projects="tools\gacutil\gacutil.csproj" Targets="Build" Properties="Configuration=basic;Platform=AnyCPU"/>\r
<MSBuild Projects="tools\security\security.proj" Targets="Build" Properties="Configuration=basic;Platform=AnyCPU"/>\r
+ <!-- net_2_0_bootstrap -->\r
+ <MSBuild Projects="tools\resgen\resgen.csproj" Targets="Build" Properties="Configuration=net_2_0_bootstrap;Platform=AnyCPU"/>\r
+ <!--<MSBuild Projects="tools\culevel\culevel.csproj" Targets="Build" Properties="Configuration=net_2_0_bootstrap;Platform=AnyCPU"/>-->\r
+ <!-- net_2_0 -->\r
+ <MSBuild Projects="class\corlib\corlib.csproj" Targets="Build" Properties="Configuration=net_2_0;Platform=AnyCPU"/>\r
+ <MSBuild Projects="class\System\System.csproj" Targets="Build" Properties="Configuration=net_2_0;Platform=AnyCPU"/>\r
+ <MSBuild Projects="class\System.Xml\System.Xml.csproj" Targets="Build" Properties="Configuration=net_2_0;Platform=AnyCPU"/>\r
+ <MSBuild Projects="class\Mono.CompilerServices.SymbolWriter\Mono.CompilerServices.SymbolWriter.csproj" Targets="Build" Properties="Configuration=net_2_0;Platform=AnyCPU"/>\r
+ <MSBuild Projects="class\Mono.Posix\Mono.Posix.csproj" Targets="Build" Properties="Configuration=net_2_0;Platform=AnyCPU"/>\r
+ <MSBuild Projects="class\System.Core\System.Core.csproj" Targets="Build" Properties="Configuration=net_2_0;Platform=AnyCPU"/>\r
</Target>\r
<Target Name="Clean">\r
<!--<MSBuild Projects="build\build.proj" Targets="Clean" />-->\r
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'basic|AnyCPU' ">
<DefineConstants>BOOTSTRAP_BASIC,NET_1_1,NET_2_0</DefineConstants>
</PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'net_2_0|AnyCPU' ">
+ <DefineConstants>NET_1_1,NET_2_0</DefineConstants>
+ </PropertyGroup>
<ItemGroup>
<Compile Include="cs-parser.cs"/>
<Reference Include="System.dll"/>
<Project ToolsVersion="3.5" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<OutputType>Exe</OutputType>
- <AssemblyName>gacutil</AssemblyName>
+ <AssemblyName>$(MSBuildProjectName)</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
- <ResponseFile>gacutil.exe.sources</ResponseFile>
+ <ResponseFile>$(MSBuildProjectName).exe.sources</ResponseFile>
<CodePage>65001</CodePage>
<OutputPath>..\..\class\lib\basic\</OutputPath>
<UseVSHostingProcess>false</UseVSHostingProcess>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="3.5" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <OutputType>Exe</OutputType>
+ <AssemblyName>$(MSBuildProjectName)</AssemblyName>
+ <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
+ <ResponseFile>$(MSBuildProjectName).exe.sources</ResponseFile>
+ <CodePage>65001</CodePage>
+ <OutputPath>..\..\class\lib\net_2_0_bootstrap\</OutputPath>
+ <UseVSHostingProcess>false</UseVSHostingProcess>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'net_2_0_bootstrap|AnyCPU' ">
+ <DefineConstants>NET_1_1,NET_2_0</DefineConstants>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="System"/>
+ <Reference Include="System.Xml"/>
+ </ItemGroup>
+ <Import Project="$(MSBuildProjectDirectory)\..\..\build\msbuild\Mono.Common.targets"/>
+ <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
+ <Target Name="BeforeBuild" DependsOnTargets="SetupProject">
+ </Target>
+</Project>
\ No newline at end of file