<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    <UsingTask TaskName="ICSharpCode.Build.Tasks.ILAsm" AssemblyFile="$(SharpDevelopBinPath)\ICSharpCode.Build.Tasks.dll"/>
    
    <PropertyGroup>
        <MSBuildAllProjects>$(MSBuildAllProjects);$(SharpDevelopBinPath)\SharpDevelop.Build.MSIL.targets</MSBuildAllProjects>
        <DefaultLanguageSourceExtension>.il</DefaultLanguageSourceExtension>
        <Language>ILAsm</Language>
    </PropertyGroup>
    
    <Target
        Name="CoreCompile"
        Inputs="$(MSBuildAllProjects);
                @(Compile);
                @(ManifestResourceWithNoCulture);
                $(ApplicationIcon);
                $(AssemblyOriginatorKeyFile);
                @(ManifestNonResxWithNoCultureOnDisk);
                @(ReferencePath);
                @(CompiledLicenseFile)"
        Outputs="@(DocFileItem);
                 @(IntermediateAssembly);
                 $(NonExistentFile)"
        DependsOnTargets="$(CoreCompileDependsOn)"
    >

        <IlAsm
              DebugType="$(DebugType)"
              EmitDebugInformation="$(DebugSymbols)"
              FileAlignment="$(FileAlignment)"
              KeyContainer="$(KeyContainerName)"
              KeyFile="$(KeyOriginatorFile)"
              Optimize="$(Optimize)"
              OutputAssembly="@(IntermediateAssembly)"
              Resources="@(ManifestResourceWithNoCulture);@(ManifestNonResxWithNoCultureOnDisk);@(CompiledLicenseFile)"
              Sources="@(Compile)"
              TargetType="$(OutputType)"
              />
    </Target>
    
    <Import Project="$(SharpDevelopBinPath)\SharpDevelop.Build.Common.targets" />
</Project>
