<!-- Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -->
<!-- All Rights Reserved. Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. -->
<Project>
<PropertyGroup>
...
...
@@ -7,25 +7,23 @@
</PropertyGroup>
<!--
Support for in-place modification of the compiled binary.
Since there may be more than one post compile modification, we must take care not
to break incremental builds. A timestemp file is written out when all modification
targets have completed.
Note that the targets participating in post compile modification must list the
sentinel file as one of their outputs, but they should not modify it.
Required properties:
IbcOptimizationDataDir The directory containing IBC optimization data.
Merges optimization data to assemblies specified in OptimizeAssembly item group.
A local build emulating an official build can pass /p:SkipApplyOptimizations=true to avoid this error.
Non-incremental. Calling targets need to handle incremental build if necessary.
Runs during any CI build. Performs the actual merge only when IBCMerge tool is available. It is expected to be available in an official build.
-->
<TargetName="_CalculateIbcArgs">
<ItemGroup>
<OptimizeAssembly>
<!--
-delete to delete data previously embedded in the binary. This is a no-op for binaries produced by this build, but is needed for dependencies such as System.Reflection.Metadata.
-incremental to map data stored in the optimized binary, which comes from a previous build, to the new build of the binary.