1 <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
4 <TargetExt Condition="'$(OutputType)' == 'Winexe'">.exe</TargetExt>
5 <TargetExt Condition="'$(OutputType)' == 'Exe'">.exe</TargetExt>
6 <TargetExt Condition="'$(OutputType)' == 'Library'">.dll</TargetExt>
7 <TargetExt Condition="'$(OutputType)' == 'Netmodule'">.netmodule</TargetExt>
11 <ProjectDir Condition="'$(ProjectDir)' == ''">$(MSBuildProjectDirectory)\</ProjectDir>
15 <AllowUnsafeBlocks Condition="'$(AllowUnsafeBlocks)' == ''">false</AllowUnsafeBlocks>
16 <AssemblyName Condition="'$(AssemblyName)' == ''">$(RootNamespace)</AssemblyName>
17 <!--<OutputPath Condition="'$(OutputPath)' != ''">$(OutputPath)\</OutputPath>-->
18 <WarningLevel Condition="'$(WarningLevel)' == ''" >2</WarningLevel>
21 <Target Name="PrepareForBuild">
22 <Message Importance="High" Text="Configuration: $(Configuration) Platform: $(Platform)"/>
25 Condition="'$(OutputPath)' != ''"
26 Directories="$(OutputPath)"
30 <Target Name="ResolveAssemblyReferences">
31 <ResolveAssemblyReference
32 Assemblies="@(Reference)"
35 <Output TaskParameter="ResolvedFiles" ItemName="ResolvedFiles"/>
36 </ResolveAssemblyReference>
40 Name="ResolveProjectReferences"
41 Condition=" '@(ProjectReference)' != ''"
42 Inputs="@(ProjectReference)"
43 Outputs="@(ChildProjectReferences)"
46 Projects="@(ProjectReference)"
50 <Output TaskParameter="TargetOutputs" ItemName="ChildProjectReferences" />
55 Not needed at the moment
56 <Target Name="_ComputeNonExistentFileProperty" Condition='false'>
57 <CreateProperty Value="__NonExistentSubDir__\__NonExistentFile__">
58 <Output TaskParameter="Value" PropertyName="NonExistentFile"/>
65 DependsOnTargets="PrepareForBuild;ResolveAssemblyReferences;ResolveProjectReferences;CoreCompile"
66 Outputs="$(OutputPath)$(AssemblyName)$(TargetExt)"
70 Doesn't work because it treats every property in Delete.Files as separate ITaskItem
72 <Message Text="Trying to delete $(OutputPath)$(AssemblyName)$(TargetExt)"/>
73 <Delete Files="$(OutputPath)$(AssemblyName)$(TargetExt)" />