<?xml version="1.0"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4">
	<Import Project="$(MSBuildToolsPath)\Microsoft.Common.targets" />
	<Target Name="CreateManifestResourceNames" /> 
	<Target Name="CoreCompile" Inputs="$(MSBuildAllProjects);@(Compile);" Outputs="@(IntermediateAssembly);$(NonExistentFile);">
		<GetFrameworkPath>
			<Output TaskParameter="Path" PropertyName="FrameworkPath" />
		</GetFrameworkPath>
		<PropertyGroup>
			<IlAsmCommand>&quot;$(FrameworkPath)\Ilasm.exe&quot; /NOLOGO /DLL /OUTPUT:&quot;@(IntermediateAssembly)&quot; </IlAsmCommand>
		</PropertyGroup>
		<PropertyGroup Condition=" '$(Configuration)' == 'Debug' " >
			<IlAsmCommand>$(IlAsmCommand) /DEBUG </IlAsmCommand>
		</PropertyGroup>
		<PropertyGroup Condition=" '$(Configuration)' == 'Release' " >
			<IlAsmCommand>$(IlAsmCommand) /OPTIMIZE </IlAsmCommand>
		</PropertyGroup>
		<PropertyGroup Condition=" '$(AssemblyOriginatorKeyFile)' != '' " >
			<IlAsmCommand>$(IlAsmCommand) /KEY:&quot;$(AssemblyOriginatorKeyFile)&quot; </IlAsmCommand>
		</PropertyGroup>
		<Exec Command="$(IlAsmCommand) @(Compile->'&quot;%(FullPath)&quot;', ' ')" Outputs="@(IntermediateAssembly)" />
		<CallTarget Targets="$(TargetsTriggeredByCompilation)" Condition="'$(TargetsTriggeredByCompilation)' != ''" /> 
	</Target>
</Project>