[mcs] Adds handling for declared variables from while loop condition
[mono.git] / mcs / mcs / mcs-build.csproj
index c041d6c486e385f82ef59ed241bbb5e3f907fd4a..15a36f547717869bcb5345364a359daa40ee9bbc 100644 (file)
 <?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>{08799275-6684-44F4-811F-312E1CFA30A1}</ProjectGuid>\r
     <OutputType>Library</OutputType>\r
     <NoWarn>1699</NoWarn>\r
-    <OutputPath>./../class/lib/build</OutputPath>\r
-    <DefineConstants>STATIC;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0</DefineConstants>\r
-    <NoStdLib>true</NoStdLib>\r
+    <OutputPath>bin\Debug\mcs-build</OutputPath>\r
+    <NoStdLib>True</NoStdLib>\r
+    <NoConfig>True</NoConfig>\r
     \r
     <AppDesignerFolder>Properties</AppDesignerFolder>\r
-    <RootNamespace>mscorlib</RootNamespace>\r
+    <RootNamespace>\r
+    </RootNamespace>\r
     <AssemblyName>mcs</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>STATIC;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0</DefineConstants>\r
+    <Optimize>false</Optimize>\r
+    <DefineConstants>DEBUG;TRACE;STATIC;NO_SYMBOL_WRITER;NO_AUTHENTICODE;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/build,./../class/lib/build</AdditionalLibPaths>\r
   </PropertyGroup>\r
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">\r
     <DebugType>pdbonly</DebugType>\r
     <NoWarn>1699</NoWarn>\r
     <Optimize>true</Optimize>\r
-    <DefineConstants>STATIC;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0</DefineConstants>\r
+    <DefineConstants>STATIC;NO_SYMBOL_WRITER;NO_AUTHENTICODE;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/build,./../class/lib/build</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="AssemblyInfo.cs" />
-   <Compile Include="anonymous.cs" />
-   <Compile Include="argument.cs" />
-   <Compile Include="assign.cs" />
-   <Compile Include="assembly.cs" />
-   <Compile Include="attribute.cs" />
-   <Compile Include="cs-tokenizer.cs" />
-   <Compile Include="cfold.cs" />
-   <Compile Include="class.cs" />
-   <Compile Include="codegen.cs" />
-   <Compile Include="complete.cs" />
-   <Compile Include="const.cs" />
-   <Compile Include="constant.cs" />
-   <Compile Include="convert.cs" />
-   <Compile Include="context.cs" />
-   <Compile Include="decl.cs" />
-   <Compile Include="delegate.cs" />
-   <Compile Include="doc.cs" />
-   <Compile Include="driver.cs" />
-   <Compile Include="dynamic.cs" />
-   <Compile Include="ecore.cs" />
-   <Compile Include="enum.cs" />
-   <Compile Include="eval.cs" />
-   <Compile Include="expression.cs" />
-   <Compile Include="field.cs" />
-   <Compile Include="flowanalysis.cs" />
-   <Compile Include="generic.cs" />
-   <Compile Include="import.cs" />
-   <Compile Include="iterators.cs" />
-   <Compile Include="ikvm.cs" />
-   <Compile Include="lambda.cs" />
-   <Compile Include="linq.cs" />
-   <Compile Include="literal.cs" />
-   <Compile Include="location.cs" />
-   <Compile Include="membercache.cs" />
-   <Compile Include="method.cs" />
-   <Compile Include="modifiers.cs" />
-   <Compile Include="namespace.cs" />
-   <Compile Include="nullable.cs" />
-   <Compile Include="parameter.cs" />
-   <Compile Include="pending.cs" />
-   <Compile Include="property.cs" />
-   <Compile Include="reflection.cs" />
-   <Compile Include="report.cs" />
-   <Compile Include="rootcontext.cs" />
-   <Compile Include="roottypes.cs" />
-   <Compile Include="statement.cs" />
-   <Compile Include="support.cs" />
-   <Compile Include="typemanager.cs" />
-   <Compile Include="typespec.cs" />
-   <Compile Include="visit.cs" />
-   <Compile Include="symbolwriter.cs" />
-   <Compile Include="..\class\Mono.CompilerServices.SymbolWriter\MonoSymbolFile.cs" />
-   <Compile Include="..\class\Mono.CompilerServices.SymbolWriter\MonoSymbolTable.cs" />
-   <Compile Include="..\class\Mono.CompilerServices.SymbolWriter\MonoSymbolWriter.cs" />
-   <Compile Include="..\class\corlib\Mono.Security.Cryptography\CryptoConvert.cs" />
-   <Compile Include="..\build\common\Consts.cs" />
-   <Compile Include="..\tools\monop\outline.cs" />
-   <Compile Include="..\class\IKVM.Reflection\*.cs" />
-   <Compile Include="..\class\IKVM.Reflection\Emit\*.cs" />
-   <Compile Include="..\class\IKVM.Reflection\Metadata\*.cs" />
-   <Compile Include="..\class\IKVM.Reflection\Reader\*.cs" />
-   <Compile Include="..\class\IKVM.Reflection\Writer\*.cs" />
-   <Compile Include="..\class\IKVM.Reflection\Impl\CryptoHack.cs" />
-   <Compile Include="..\class\IKVM.Reflection\Impl\ITypeOwner.cs" />
-   <Compile Include="..\class\IKVM.Reflection\Impl\SymbolSupport.cs" />
-   <Compile Include="cs-parser.cs" />
-\r
-  </ItemGroup>\r
+    <Compile Include="..\..\external\ikvm\reflect\*.cs" />\r
+    <Compile Include="..\..\external\ikvm\reflect\Emit\*.cs" />\r
+    <Compile Include="..\..\external\ikvm\reflect\Impl\ITypeOwner.cs" />\r
+    <Compile Include="..\..\external\ikvm\reflect\Impl\SymbolSupport.cs" />\r
+    <Compile Include="..\..\external\ikvm\reflect\Metadata\*.cs" />\r
+    <Compile Include="..\..\external\ikvm\reflect\Reader\*.cs" />\r
+    <Compile Include="..\..\external\ikvm\reflect\Writer\*.cs" />\r
+    <Compile Include="..\build\common\Consts.cs" />\r
+    <Compile Include="..\class\Mono.CompilerServices.SymbolWriter\MonoSymbolFile.cs" />\r
+    <Compile Include="..\class\Mono.CompilerServices.SymbolWriter\MonoSymbolTable.cs" />\r
+    <Compile Include="..\class\Mono.CompilerServices.SymbolWriter\SourceMethodBuilder.cs" />\r
+    <Compile Include="..\class\Mono.Security\Mono.Security.Cryptography\CryptoConvert.cs" />\r
+    <Compile Include="..\tools\monop\outline.cs" />\r
+    <Compile Include="anonymous.cs" />\r
+    <Compile Include="argument.cs" />\r
+    <Compile Include="assembly.cs" />\r
+    <Compile Include="AssemblyInfo.cs" />\r
+    <Compile Include="assign.cs" />\r
+    <Compile Include="async.cs" />\r
+    <Compile Include="attribute.cs" />\r
+    <Compile Include="cfold.cs" />\r
+    <Compile Include="class.cs" />\r
+    <Compile Include="codegen.cs" />\r
+    <Compile Include="complete.cs" />\r
+    <Compile Include="const.cs" />\r
+    <Compile Include="constant.cs" />\r
+    <Compile Include="context.cs" />\r
+    <Compile Include="convert.cs" />\r
+    <Compile Include="cs-tokenizer.cs" />\r
+    <Compile Include="decl.cs" />\r
+    <Compile Include="delegate.cs" />\r
+    <Compile Include="doc.cs" />\r
+    <Compile Include="driver.cs" />\r
+    <Compile Include="dynamic.cs" />\r
+    <Compile Include="ecore.cs" />\r
+    <Compile Include="enum.cs" />\r
+    <Compile Include="eval.cs" />\r
+    <Compile Include="expression.cs" />\r
+    <Compile Include="field.cs" />\r
+    <Compile Include="flowanalysis.cs" />\r
+    <Compile Include="generic.cs" />\r
+    <Compile Include="ikvm.cs" />\r
+    <Compile Include="import.cs" />\r
+    <Compile Include="iterators.cs" />\r
+    <Compile Include="lambda.cs" />\r
+    <Compile Include="linq.cs" />\r
+    <Compile Include="literal.cs" />\r
+    <Compile Include="location.cs" />\r
+    <Compile Include="membercache.cs" />\r
+    <Compile Include="method.cs" />\r
+    <Compile Include="modifiers.cs" />\r
+    <Compile Include="module.cs" />\r
+    <Compile Include="namespace.cs" />\r
+    <Compile Include="nullable.cs" />\r
+    <Compile Include="parameter.cs" />\r
+    <Compile Include="pending.cs" />\r
+    <Compile Include="property.cs" />\r
+    <Compile Include="reflection.cs" />\r
+    <Compile Include="report.cs" />\r
+    <Compile Include="settings.cs" />\r
+    <Compile Include="statement.cs" />\r
+    <Compile Include="support.cs" />\r
+    <Compile Include="typemanager.cs" />\r
+    <Compile Include="typespec.cs" />\r
+    <Compile Include="visit.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>$(ProjectDir)\..\jay\jay.exe -ct &lt; $(ProjectDir)\..\jay\skeleton.cs $(ProjectDir)\cs-parser.jay > $(ProjectDir)\cs-parser.cs\r
-</PreBuildEvent>\r
-  </PropertyGroup>\r
-  <ItemGroup>
-    <Reference Include="mscorlib.dll">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>..\class\\lib\basic\mscorlib.dll</HintPath>
-    </Reference>
-    <Reference Include="System.dll">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>..\class\\lib\basic\System.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Xml.dll">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>..\class\\lib\basic\System.Xml.dll</HintPath>
-    </Reference>
-  </ItemGroup>
+    <PreBuildEvent>\r
+$(ProjectDir)\..\jay\jay.exe -ct &lt; $(ProjectDir)\..\jay\skeleton.cs $(ProjectDir)\cs-parser.jay > $(ProjectDir)\cs-parser.cs\r
 \r
+    </PreBuildEvent>\r
+    <PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
+
+    </PostBuildEvent>
+    <PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
+
+    </PostBuildEvent>\r
+  </PropertyGroup>\r
+  <ItemGroup>\r
+    <ProjectReference Include="..\corlib\corlib-build.csproj">\r
+      <Project>{2BDF80D1-6F06-4908-B351-835292B7A9B9}</Project>\r
+      <Name>corlib\corlib-build</Name>\r
+    </ProjectReference>\r
+  </ItemGroup>\r
   <ItemGroup>\r
     <Folder Include="Properties\" />\r
   </ItemGroup>\r
-  \r
 </Project>\r