Skip to content

Commit 9ec5708

Browse files
authored
Update action.yml
1 parent 81ebb59 commit 9ec5708

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

action.yml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,6 @@ runs:
1111
run: |
1212
$ErrorActionPreference = "Stop";
1313
14-
# $sdks = dotnet --list-sdks
15-
# $sdk = $sdks | Sort-Object -Descending | Select-Object -First 1
16-
# $sdkregex = [regex]::Match($sdk, "(\d\.\d\.\d\d\d) \[([^]]*)\]")
17-
18-
# $slndll = Join-Path $sdkregex.captures.groups[2].value $sdkregex.captures.groups[1].value "Microsoft.DotNet.Cli.Sln.Internal.dll"
19-
# Add-Type -path $slndll
20-
2114
foreach($project in Get-ChildItem -Path . -Filter *.csproj -Recurse -Force) {
2215
dotnet add $project package SecurityCodeScan.VS2019
23-
# $slnobj = [Microsoft.DotNet.Cli.Sln.Internal.SlnFile]::Read($sln)
24-
# filter by solution folder guid TypeGuid != {2150E333-8FDC-42A3-9474-1A3956D46DE8}
25-
26-
# foreach ($project in $slnobj.Projects) {
27-
# Write-Output $project.FilePath
28-
# }
2916
}

0 commit comments

Comments
 (0)