File tree 2 files changed +10
-0
lines changed
2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 174
174
<HelixPostCommand Include =" docker rmi -f grpc-server:latest" />
175
175
</ItemGroup >
176
176
177
+ <!-- create dummy console app to workaround NuGet-Migrations issue: https://github.com/dotnet/runtime/issues/80619 -->
178
+ <ItemGroup Condition =" '$(IncludeDotNetCli)' == 'true' and '$(DotNetCliPackageType)' == 'sdk' and '$(WindowsShell)' != 'true'" >
179
+ <HelixPreCommand Include =" (CONSOLE_TEMP_DIR=" %24(mktemp -d)" %3B " $DOTNET_ROOT/dotnet" new console -o " $CONSOLE_TEMP_DIR" %3B rm -rf " $CONSOLE_TEMP_DIR" ) || true" />
180
+ </ItemGroup >
181
+
177
182
<!-- Ensure that all HelixPreCommand items are ready before this -->
178
183
<Target Name =" BuildHelixCommand" >
179
184
<!-- setting DotNetCliVersion here to ensure that it is set to the intended value -->
Original file line number Diff line number Diff line change 712
712
<HelixPostCommand Include =" $HELIX_PYTHONPATH $spmi_superpmi_py collect -log_level DEBUG -core_root $CORE_ROOT --skip_cleanup --clean --ci --skip_collection_step --skip_toc_step -temp_dir $spmi_collect_dir -output_mch_path $spmi_finalmch -log_file $spmi_log_file" />
713
713
</ItemGroup >
714
714
715
+ <!-- create dummy console app to workaround NuGet-Migrations issue: https://github.com/dotnet/runtime/issues/80619 -->
716
+ <ItemGroup Condition =" '$(IncludeDotNetCli)' == 'true' and '$(DotNetCliPackageType)' == 'sdk' and '$(TestWrapperTargetsWindows)' != 'true'" >
717
+ <HelixPreCommand Include =" (CONSOLE_TEMP_DIR=" %24(mktemp -d)" %3B " $DOTNET_ROOT/dotnet" new console -o " $CONSOLE_TEMP_DIR" %3B rm -rf " $CONSOLE_TEMP_DIR" ) || true" />
718
+ </ItemGroup >
719
+
715
720
<PropertyGroup >
716
721
<HelixPreCommands >@(HelixPreCommand)</HelixPreCommands >
717
722
<HelixPostCommands >@(HelixPostCommand)</HelixPostCommands >
You can’t perform that action at this time.
0 commit comments