<?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>{D6014E28-789B-478A-B460-C9FDC7DF7416}</ProjectGuid>\r
<OutputType>Library</OutputType>\r
<NoWarn>1699</NoWarn>\r
- <OutputPath>./../../class/lib/net_4_0</OutputPath>\r
- <DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0</DefineConstants>\r
- <NoStdLib>true</NoStdLib>\r
+ <OutputPath>bin\Debug\Microsoft.VisualC-net_4_0</OutputPath>\r
+ <NoStdLib>True</NoStdLib>\r
+ <NoConfig>True</NoConfig>\r
\r
<AppDesignerFolder>Properties</AppDesignerFolder>\r
- <RootNamespace>mscorlib</RootNamespace>\r
+ <RootNamespace>\r
+ </RootNamespace>\r
<AssemblyName>Microsoft.VisualC</AssemblyName>\r
- <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>\r
+ <TargetFrameworkVersion>v4.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;NET_3_0;NET_3_5;NET_4_0</DefineConstants>\r
+ <Optimize>false</Optimize>\r
+ <DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0</DefineConstants>\r
<ErrorReport>prompt</ErrorReport>\r
<WarningLevel>4</WarningLevel>\r
- <AdditionalLibPaths>./../../class/lib/net_4_0</AdditionalLibPaths>\r
</PropertyGroup>\r
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">\r
<DebugType>pdbonly</DebugType>\r
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0</DefineConstants>\r
<ErrorReport>prompt</ErrorReport>\r
<WarningLevel>4</WarningLevel>\r
- <AdditionalLibPaths>./../../class/lib/net_4_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="..\..\build\common\Locale.cs" />
- <Compile Include="Microsoft.VisualC\DebugInfoInPDBAttribute.cs" />
- <Compile Include="Microsoft.VisualC\DecoratedNameAttribute.cs" />
- <Compile Include="Microsoft.VisualC\IsCXXReferenceModifier.cs" />
- <Compile Include="Microsoft.VisualC\IsConstModifier.cs" />
- <Compile Include="Microsoft.VisualC\IsLongModifier.cs" />
- <Compile Include="Microsoft.VisualC\IsSignedModifier.cs" />
- <Compile Include="Microsoft.VisualC\IsVolatileModifier.cs" />
- <Compile Include="Microsoft.VisualC\MiscellaneousBitsAttribute.cs" />
- <Compile Include="Microsoft.VisualC\NeedsCopyConstructorModifier.cs" />
- <Compile Include="Microsoft.VisualC\NoSignSpecifiedModifier.cs" />
-\r
- </ItemGroup>\r
+ <Compile Include="..\..\build\common\Consts.cs" />\r
+ <Compile Include="..\..\build\common\Locale.cs" />\r
+ <Compile Include="Assembly\AssemblyInfo.cs" />\r
+ <Compile Include="Microsoft.VisualC\DebugInfoInPDBAttribute.cs" />\r
+ <Compile Include="Microsoft.VisualC\DecoratedNameAttribute.cs" />\r
+ <Compile Include="Microsoft.VisualC\IsConstModifier.cs" />\r
+ <Compile Include="Microsoft.VisualC\IsCXXReferenceModifier.cs" />\r
+ <Compile Include="Microsoft.VisualC\IsLongModifier.cs" />\r
+ <Compile Include="Microsoft.VisualC\IsSignedModifier.cs" />\r
+ <Compile Include="Microsoft.VisualC\IsVolatileModifier.cs" />\r
+ <Compile Include="Microsoft.VisualC\MiscellaneousBitsAttribute.cs" />\r
+ <Compile Include="Microsoft.VisualC\NeedsCopyConstructorModifier.cs" />\r
+ <Compile Include="Microsoft.VisualC\NoSignSpecifiedModifier.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="mscorlib.dll">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>..\\lib\build\mscorlib.dll</HintPath>
- </Reference>
- <Reference Include="System.dll">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>..\\lib\build\System.dll</HintPath>
- </Reference>
- </ItemGroup>
+ <PreBuildEvent>\r
\r
+ </PreBuildEvent>\r
+ <PostBuildEvent>\r
+ xcopy $(TargetName).* $(ProjectDir)..\lib\net_4_0\ /Y /R /D\r
+ </PostBuildEvent>\r
+ </PropertyGroup>\r
+ <ItemGroup>\r
+ <ProjectReference Include="..\corlib\corlib-net_4_0.csproj">\r
+ <Project>{280E1B59-BAAA-4E02-99CA-8070BCB2C72E}</Project>\r
+ <Name>corlib\corlib-net_4_0</Name>\r
+ </ProjectReference>\r
+ <ProjectReference Include="..\System\System-net_4_0-2.csproj">\r
+ <Project>{C0648621-9C6E-4584-9CF6-70EBB2D60489}</Project>\r
+ <Name>System\System-net_4_0-2</Name>\r
+ </ProjectReference>\r
+ </ItemGroup>\r
<ItemGroup>\r
<Folder Include="Properties\" />\r
</ItemGroup>\r
- \r
-</Project>\r
-
+</Project>