merged Sys.Web.Services 2.0 support in my branch:
[mono.git] / mcs / tools / xbuild / xbuild / Microsoft.CSharp.targets
1 <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2
3         <PropertyGroup>
4                 <DefaultLanguageSourceExtension>.cs</DefaultLanguageSourceExtension>
5                 <Language>C#</Language>
6         </PropertyGroup>
7
8         <PropertyGroup>
9                 <DebugSymbols Condition=" '$(DebugType)' == 'none' ">false</DebugSymbols>
10                 <DebugType    Condition=" '$(DebugType)' == 'none' "></DebugType>
11         </PropertyGroup>
12
13         <ItemGroup>
14                 <DocFileItem Include="$(DocumentationFile)" Condition="'$(DocumentationFile)' != ''"/>
15         </ItemGroup>
16
17         <Target
18                 Name="CoreCompile"
19                 Inputs="@(Compile)"
20                 Outputs="$(OutputPath)$(AssemblyName)$(TargetExt)"
21         >
22                 <Csc
23                         AdditionalLibPaths="$(AdditionalLibPaths)"
24                         AddModules="@(AddModules)"
25                         AllowUnsafeBlocks="$(AllowUnsafeBlocks)"
26                         BaseAddress="$(BaseAddress)"
27                         CheckForOverflowUnderflow="$(CheckForOverflowUnderflow)"
28                         CodePage="$(CodePage)"
29                         DebugType="$(DebugType)"
30                         DefineConstants="$(DefineConstants)"
31                         DelaySign="$(DelaySign)"
32                         DisabledWarnings="$(_DisabledWarnings)"
33                         DocumentationFile="@(DocFileItem)"
34                         EmitDebugInformation="$(DebugSymbols)"
35                         ErrorReport="$(ErrorReport)"
36                         FileAlignment="$(FileAlignment)"
37                         GenerateFullPaths="$(GenerateFullPaths)"
38                         KeyContainer="$(KeyContainerName)"
39                         KeyFile="$(KeyOriginatorFile)"
40                         LangVersion="$(LangVersion)"
41                         MainEntryPoint="$(StartupObject)"
42                         ModuleAssemblyName="$(ModuleAssemblyName)"
43                         NoConfig="true"
44                         NoLogo="$(NoLogo)"
45                         NoStandardLib="$(NoStdLib)"
46                         Optimize="$(Optimize)"
47                         OutputAssembly="$(OutputPath)$(AssemblyName)$(TargetExt)"
48                         PdbFile="$(PdbFile)" 
49                         Platform="$(PlatformTarget)"
50                         References="@(ResolvedFiles)"
51                         ResponseFiles="$(CompilerResponseFile)"
52                         Sources="@(Compile)"
53                         TargetType="$(OutputType)"
54                         TreatWarningsAsErrors="$(TreatWarningsAsErrors)"
55                         UseHostCompilerIfAvailable="$(UseHostCompilerIfAvailable)"
56                         Utf8Output="$(Utf8Output)"
57                         WarningLevel="$(WarningLevel)"
58                         WarningsAsErrors="$(WarningsAsErrors)"
59                         Win32Icon="$(Win32Icon)"
60                         Win32Resource="$(Win32Resource)"
61                 />
62                         <!-- Resources="@(ManifestResourceWithNoCulture);@(ManifestNonResxWithNoCultureOnDisk);@(CompiledLicenseFile)" -->
63                         <!-- ToolPath="$(CscToolPath)" -->
64
65         </Target>
66
67         <Import Project="Microsoft.Common.targets" />
68
69 </Project>