Skip to content

Commit db57954

Browse files
committed
TEST: Clean project file directly
1 parent 597b923 commit db57954

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.build.ps1

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ param(
88
# AppVeyor causes trouble with the build platform, fix that
99
# by setting the environment variable that MSBuild picks up
1010
$script:BuildPlatform = "Any CPU"
11+
if ($env:APPVEYOR -ne $null) {
12+
# $env:Platform = "AnyCPU"
13+
}
1114

1215
task SetupDotNet -Before Clean, Build, BuildHost, Test, TestPowerShellApi {
1316

@@ -62,7 +65,8 @@ task SetupDotNet -Before Clean, Build, BuildHost, Test, TestPowerShellApi {
6265
}
6366

6467
task Clean {
65-
exec { & dotnet clean .\PowerShellEditorServices.sln -- /p:Platform="$script:BuildPlatform" }
68+
# exec { & dotnet clean .\PowerShellEditorServices.sln -- /p:Platform="$script:BuildPlatform" }
69+
exec { & dotnet clean -v:diag .\src\PowerShellEditorServices\PowerShellEditorServices.csproj }
6670
}
6771

6872
function BuildForPowerShellVersion($version) {

0 commit comments

Comments
 (0)