|
|
@@ -503,13 +503,20 @@ This package is an internal implementation of the .NET Core SDK and is not meant
|
|
|
</ReadLinesFromFile>
|
|
|
|
|
|
<ItemGroup>
|
|
|
+ <!-- Temporary workaround tracked by https://github.com/dotnet/runtime/issues/84860 -->
|
|
|
+ <ExcludeAssemblies Include="$(TargetDir)\Microsoft.Extensions.Logging.Abstractions.dll" />
|
|
|
+
|
|
|
<BaseAssemblies Include="$(ManagedAssetsFullPath)\*.dll" />
|
|
|
<BaseAssemblies Include="$(TargetDir)\*.dll" />
|
|
|
+
|
|
|
<PartialCompositeAssemblyPaths Include="$(ManagedAssetsFullPath)\%(PartialCompositeAssemblyNames.Identity).dll" />
|
|
|
<PartialCompositeAssemblyPaths Include="$(TargetDir)\%(PartialCompositeAssemblyNames.Identity).dll" />
|
|
|
<PartialCompositeAssemblyPaths Remove="%(PartialCompositeAssemblyPaths.Identity)" Condition="!Exists('%(Identity)')" />
|
|
|
+ <PartialCompositeAssemblyPaths Remove="@(ExcludeAssemblies)" />
|
|
|
+
|
|
|
<UnrootedAssemblyPaths Include="@(BaseAssemblies)" />
|
|
|
<UnrootedAssemblyPaths Remove="@(PartialCompositeAssemblyPaths)" />
|
|
|
+ <UnrootedAssemblyPaths Remove="@(ExcludeAssemblies)" />
|
|
|
</ItemGroup>
|
|
|
|
|
|
<WriteLinesToFile File="$(CompositeResponseFile)" Lines="--composite" Overwrite="true" />
|
|
|
@@ -517,6 +524,7 @@ This package is an internal implementation of the .NET Core SDK and is not meant
|
|
|
<WriteLinesToFile File="$(CompositeResponseFile)" Lines="--targetos:$(Crossgen2TargetOs)" Overwrite="false" />
|
|
|
<WriteLinesToFile File="$(CompositeResponseFile)" Lines="-u:"%(UnrootedAssemblyPaths.Identity)"" Overwrite="false" />
|
|
|
<WriteLinesToFile File="$(CompositeResponseFile)" Lines=""%(PartialCompositeAssemblyPaths.Identity)"" Overwrite="false" />
|
|
|
+ <WriteLinesToFile File="$(CompositeResponseFile)" Lines="-r:"%(ExcludeAssemblies.Identity)"" Overwrite="false" Condition="'@(ExcludeAssemblies)' != ''" />
|
|
|
<WriteLinesToFile File="$(CompositeResponseFile)" Lines="--out:"$(CompositeTargetDir)$(CompositeFileName).dll"" Overwrite="false" />
|
|
|
<WriteLinesToFile File="$(CompositeResponseFile)" Lines="--instruction-set:$(InstructionSetSupport)" Overwrite="false" Condition="'$(InstructionSetSupport)' != ''" />
|
|
|
<WriteLinesToFile File="$(CompositeResponseFile)" Lines="-m:"$(CrossgenOptimizationData)"" Overwrite="false" Condition="'$(CrossgenOptimizationData)' != ''" />
|