Skip to content

Commit 26530cf

Browse files
authored
[ci] Remove usage on cake script (dotnet#28037)
* [ci] Remove usage on cake script * [ci] Restore packages with net10 by not using PackagePruning
1 parent 833ed2a commit 26530cf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Directory.Build.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
<PropertyGroup>
4343
<NuGetAuditMode>all</NuGetAuditMode>
4444
<NuGetAuditLevel>moderate</NuGetAuditLevel>
45+
<RestoreEnablePackagePruning>false</RestoreEnablePackagePruning>
4546
</PropertyGroup>
4647

4748
<PropertyGroup>

eng/cake/dotnet.cake

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,6 @@ void UseLocalNuGetCacheFolder(bool reset = false)
588588

589589
void StartVisualStudioCodeForDotNet()
590590
{
591-
string workspace = "./maui.code-workspace";
592591
if (IsCIBuild())
593592
{
594593
Error("This target should not run on CI.");
@@ -600,7 +599,7 @@ void StartVisualStudioCodeForDotNet()
600599
SetDotNetEnvironmentVariables();
601600
}
602601

603-
StartProcess("code", new ProcessSettings{ Arguments = workspace, EnvironmentVariables = GetDotNetEnvironmentVariables() });
602+
StartProcess("code", new ProcessSettings{ EnvironmentVariables = GetDotNetEnvironmentVariables() });
604603
}
605604

606605
void StartVisualStudioForDotNet()

0 commit comments

Comments
 (0)