Skip to content

Commit b10fa8e

Browse files
Fix: use IntermediateOutputPath for typemap output directory
Use $(IntermediateOutputPath) instead of manually constructing the path from $(BaseIntermediateOutputPath)$(Configuration)/$(TargetFramework)/. The manual construction breaks when AppendTargetFrameworkToOutputPath is false, as in the test infrastructure. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent de48eba commit b10fa8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Xamarin.Android.Build.Tasks/Microsoft.Android.Sdk/targets/Microsoft.Android.Sdk.TypeMap.Trimmable.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
<PropertyGroup>
1313
<_TypeMapAssemblyName>_Microsoft.Android.TypeMaps</_TypeMapAssemblyName>
14-
<_TypeMapBaseOutputDir>$(BaseIntermediateOutputPath)$(Configuration)/$(TargetFramework)/</_TypeMapBaseOutputDir>
14+
<_TypeMapBaseOutputDir>$(IntermediateOutputPath)</_TypeMapBaseOutputDir>
1515
<_TypeMapBaseOutputDir>$(_TypeMapBaseOutputDir.Replace('\','/'))</_TypeMapBaseOutputDir>
1616
<_TypeMapOutputDirectory>$(_TypeMapBaseOutputDir)typemap/</_TypeMapOutputDirectory>
1717
<_TypeMapJavaOutputDirectory>$(_TypeMapBaseOutputDir)typemap/java</_TypeMapJavaOutputDirectory>

0 commit comments

Comments
 (0)