File tree 1 file changed +5
-4
lines changed 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 94
94
95
95
<!-- dotnet workload install android-aot -->
96
96
<PropertyGroup >
97
- <_NuGetConfig >$(AndroidToolchainCacheDirectory)\NuGet.config</_NuGetConfig >
97
+ <_TempDirectory >$(DotNetPreviewPath)..\.xa-workload-temp-$([System.IO.Path]::GetRandomFileName())</_TempDirectory >
98
+ <_NuGetConfig >$(_TempDirectory)\NuGet.config</_NuGetConfig >
98
99
<_NuGetContent >
99
100
<![CDATA[
100
101
<?xml version="1.0" encoding="utf-8"?>
110
111
</PropertyGroup >
111
112
<WriteLinesToFile File =" $(_NuGetConfig)" Lines =" $(_NuGetContent)" Overwrite =" true" />
112
113
<Exec
113
- WorkingDirectory =" $(AndroidToolchainCacheDirectory )"
114
- Command =" " $(DotNetPreviewTool)" workload install android-aot --skip-manifest-update --verbosity diag"
114
+ WorkingDirectory =" $(_TempDirectory )"
115
+ Command =" " $(DotNetPreviewTool)" workload install android-aot --skip-manifest-update --verbosity diag --temp-dir " $(_TempDirectory) " "
115
116
/>
116
- <Delete Files =" $(_NuGetConfig )" />
117
+ <RemoveDir Directories =" $(_TempDirectory )" />
117
118
</Target >
118
119
119
120
<Target Name =" DeleteExtractedWorkloadPacks" >
You can’t perform that action at this time.
0 commit comments