Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <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>"$(FrameworkPath)\Ilasm.exe" /NOLOGO /DLL /OUTPUT:"@(IntermediateAssembly)" </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:"$(AssemblyOriginatorKeyFile)" </IlAsmCommand>
- </PropertyGroup>
- <Exec Command="$(IlAsmCommand) @(Compile->'"%(FullPath)"', ' ')"
- Outputs="@(IntermediateAssembly)" />
- <CallTarget Targets="$(TargetsTriggeredByCompilation)" Condition="'$(TargetsTriggeredByCompilation)' != ''" />
- </Target>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement