You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/Avalonia/AvaloniaBuildTasks.targets
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -169,12 +169,16 @@
169
169
</ItemGroup>
170
170
</Target>
171
171
172
-
<!-- For some reason the IL Compiler hardcodes $(IntermediateOutputPath)$(TargetName)$(TargetExt) instead of using @(IntermediateAssembly), change that to our assembly. -->
172
+
<!--
173
+
For some reason the IL Compiler hardcodes $(IntermediateOutputPath)$(TargetName)$(TargetExt)
174
+
instead of using @(IntermediateAssembly), change that to our assembly.
175
+
This is fixed in .NET 9.0 (https://github.com/dotnet/runtime/pull/99732)
176
+
-->
173
177
<TargetName="InjectIlcAvaloniaXamlOutput"
174
178
DependsOnTargets="InjectAvaloniaXamlOutput"
175
179
AfterTargets="ComputeIlcCompileInputs"
176
180
BeforeTargets="PrepareForILLink"
177
-
Condition="'@(AvaloniaResource)@(AvaloniaXaml)' != '' AND $(EnableAvaloniaXamlCompilation) != false">
181
+
Condition="$([MSBuild]::VersionLessThan($(TargetFrameworkVersion), '9.0')) AND '@(AvaloniaResource)@(AvaloniaXaml)' != '' AND $(EnableAvaloniaXamlCompilation) != false">
0 commit comments