1 <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3 <!-- xbuild Import support is flawed so we need to put everything into one file. -->
7 <TargetExt Condition="'$(OutputType)' == 'Winexe'">.exe</TargetExt>
8 <TargetExt Condition="'$(OutputType)' == 'Exe'">.exe</TargetExt>
9 <TargetExt Condition="'$(OutputType)' == 'Library'">.dll</TargetExt>
10 <TargetExt Condition="'$(OutputType)' == 'Netmodule'">.netmodule</TargetExt>
14 <AllowUnsafeBlocks Condition="'$(AllowUnsafeBlocks)' == ''">false</AllowUnsafeBlocks>
15 <AssemblyName Condition="'$(AssemblyName)' == ''">$(RootNamespace)</AssemblyName>
16 <!--<OutputPath Condition="'$(OutputPath)' != ''">$(OutputPath)\</OutputPath>-->
17 <WarningLevel Condition="'$(WarningLevel)' == ''" >2</WarningLevel>
20 <Target Name="PrepareForBuild">
21 <Message Importance="High" Text="Configuration: $(Configuration) Platform: $(Platform)"/>
24 Condition="'$(OutputPath)' != ''"
25 Directories="$(OutputPath)"
29 <Target Name="ResolveAssemblyReferences">
30 <ResolveAssemblyReference
31 Assemblies="@(Reference)"
34 <Output TaskParameter="ResolvedFiles" ItemName="ResolvedFiles"/>
35 </ResolveAssemblyReference>
38 <Target Name="Build" DependsOnTargets="PrepareForBuild;ResolveAssemblyReferences;CoreCompile"/>
40 <!-- END OF COMMON -->
44 <DefaultLanguageSourceExtension>.cs</DefaultLanguageSourceExtension>
45 <Language>C#</Language>
49 <DebugSymbols Condition=" '$(DebugType)' == 'none' ">false</DebugSymbols>
50 <DebugType Condition=" '$(DebugType)' == 'none' "></DebugType>
54 <DocFileItem Include="$(DocumentationFile)" Condition="'$(DocumentationFile)' != ''"/>
60 Outputs="$(OutputPath)$(AssemblyName)$(TargetExt)"
63 AdditionalLibPaths="$(AdditionalLibPaths)"
64 AddModules="@(AddModules)"
65 AllowUnsafeBlocks="$(AllowUnsafeBlocks)"
66 BaseAddress="$(BaseAddress)"
67 CheckForOverflowUnderflow="$(CheckForOverflowUnderflow)"
68 CodePage="$(CodePage)"
69 DebugType="$(DebugType)"
70 DefineConstants="$(DefineConstants)"
71 DelaySign="$(DelaySign)"
72 DisabledWarnings="$(_DisabledWarnings)"
73 DocumentationFile="@(DocFileItem)"
74 EmitDebugInformation="$(DebugSymbols)"
75 ErrorReport="$(ErrorReport)"
76 FileAlignment="$(FileAlignment)"
77 GenerateFullPaths="$(GenerateFullPaths)"
78 KeyContainer="$(KeyContainerName)"
79 KeyFile="$(KeyOriginatorFile)"
80 LangVersion="$(LangVersion)"
81 MainEntryPoint="$(StartupObject)"
82 ModuleAssemblyName="$(ModuleAssemblyName)"
85 NoStandardLib="$(NoStdLib)"
86 Optimize="$(Optimize)"
87 OutputAssembly="$(OutputPath)$(AssemblyName)$(TargetExt)"
89 Platform="$(PlatformTarget)"
90 References="@(ResolvedFiles)"
91 ResponseFiles="$(CompilerResponseFile)"
93 TargetType="$(OutputType)"
94 TreatWarningsAsErrors="$(TreatWarningsAsErrors)"
95 UseHostCompilerIfAvailable="$(UseHostCompilerIfAvailable)"
96 Utf8Output="$(Utf8Output)"
97 WarningLevel="$(WarningLevel)"
98 WarningsAsErrors="$(WarningsAsErrors)"
99 Win32Icon="$(Win32Icon)"
100 Win32Resource="$(Win32Resource)"
102 <!-- Resources="@(ManifestResourceWithNoCulture);@(ManifestNonResxWithNoCultureOnDisk);@(CompiledLicenseFile)" -->
103 <!-- ToolPath="$(CscToolPath)" -->