[runtime] Added MONO_DEBUG=single-imm-size.
[mono.git] / msvc / scripts / csproj.tmpl
index 2c8abd2076be8fffbd0f0cf7562cafcb8b8c6b3b..872748e7f476b3e8b1fcd378b222d1a95d5828aa 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>@PROJECTGUID@</ProjectGuid>\r
     <OutputType>Library</OutputType>\r
     <NoWarn>@DISABLEDWARNINGS@</NoWarn>\r
     <OutputPath>@OUTPUTDIR@</OutputPath>\r
     @NOSTDLIB@\r
+    @NOCONFIG@\r
     @ALLOWUNSAFE@\r
     <AppDesignerFolder>Properties</AppDesignerFolder>\r
-    <RootNamespace></RootNamespace>\r
+    <RootNamespace>\r
+    </RootNamespace>\r
     <AssemblyName>@ASSEMBLYNAME@</AssemblyName>\r
     <TargetFrameworkVersion>v@FX_VERSION</TargetFrameworkVersion>\r
     <FileAlignment>512</FileAlignment>\r
-    <!-- Filter out System.Core added by: Microsoft.NETFramework.props  -->\r
-    <AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>\r
   </PropertyGroup>\r
+  @SIGNATURE@\r
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">\r
-    <PlatformTarget>AnyCPU</PlatformTarget>\r
     <DebugSymbols>true</DebugSymbols>\r
     <DebugType>full</DebugType>\r
     <NoWarn>@DISABLEDWARNINGS@</NoWarn>\r
     <DefineConstants>DEBUG;TRACE;@DEFINECONSTANTS@</DefineConstants>\r
     <ErrorReport>prompt</ErrorReport>\r
     <WarningLevel>4</WarningLevel>\r
-    @ADDITIONALLIBPATHS@\r
   </PropertyGroup>\r
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">\r
-    <PlatformTarget>AnyCPU</PlatformTarget>  \r
     <DebugType>pdbonly</DebugType>\r
     <NoWarn>@DISABLEDWARNINGS@</NoWarn>\r
     <Optimize>true</Optimize>\r
     <DefineConstants>@DEFINECONSTANTS@</DefineConstants>\r
     <ErrorReport>prompt</ErrorReport>\r
     <WarningLevel>4</WarningLevel>\r
-    @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
-@SOURCES@\r
-  </ItemGroup>\r
+@SOURCES@  </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>@PREBUILD@</PreBuildEvent>\r
+@PREBUILD@\r
+@POSTBUILD@\r
   </PropertyGroup>\r
   <ItemGroup>\r
-@REFERENCES@\r
-  </ItemGroup>\r
+@REFERENCES@  </ItemGroup>\r
   <ItemGroup>\r
     <Folder Include="Properties\" />\r
   </ItemGroup>\r
-  @RESOURCES@\r
-</Project>\r
+@RESOURCES@</Project>\r