diff --git a/.gitignore b/.gitignore index a6842a0..05eae49 100644 --- a/.gitignore +++ b/.gitignore @@ -220,3 +220,5 @@ Settings.config /caketools /.sonarqube /dotcover + +.fake \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..d8c5f18 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,25 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + + { + "name": ".NET Core Launch (console)", + "type": "coreclr", + "request": "launch", + "preLaunchTask": "build", + "program": "${workspaceFolder}/demo/frosting/bin/Debug/netcoreapp3.1/Build.dll", + "args": ["-s=/Users/administrator/Documents/GitHub/cake-dotnet-vulnerability-scanner/Cake.VulnerabilityScanner.sln"], + "cwd": "${workspaceFolder}/demo/frosting", + "console": "internalConsole", + "stopAtEntry": false + }, + { + "name": ".NET Core Attach", + "type": "coreclr", + "request": "attach" + } + ] +} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..36dbc11 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,41 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "build", + "command": "dotnet", + "type": "process", + "args": [ + "build", + "${workspaceFolder}/demo/frosting/Build.csproj", + "/property:GenerateFullPaths=true", + "/consoleloggerparameters:NoSummary" + ], + "problemMatcher": "$msCompile" + }, + { + "label": "publish", + "command": "dotnet", + "type": "process", + "args": [ + "publish", + "${workspaceFolder}/demo/frosting/Build.csproj", + "/property:GenerateFullPaths=true", + "/consoleloggerparameters:NoSummary" + ], + "problemMatcher": "$msCompile" + }, + { + "label": "watch", + "command": "dotnet", + "type": "process", + "args": [ + "watch", + "run", + "--project", + "${workspaceFolder}/demo/frosting/Build.csproj" + ], + "problemMatcher": "$msCompile" + } + ] +} \ No newline at end of file diff --git a/build/Build.csproj b/build/Build.csproj index 4e49d8e..88e0fd9 100644 --- a/build/Build.csproj +++ b/build/Build.csproj @@ -5,7 +5,7 @@ $(MSBuildProjectDirectory) - + diff --git a/demo/frosting/Build.csproj b/demo/frosting/Build.csproj index 462095e..39d5dc4 100644 --- a/demo/frosting/Build.csproj +++ b/demo/frosting/Build.csproj @@ -4,7 +4,7 @@ netcoreapp3.1 - + diff --git a/src/Cake.VulnerabilityScanner/Cake.VulnerabilityScanner.csproj b/src/Cake.VulnerabilityScanner/Cake.VulnerabilityScanner.csproj index 9f9117b..d9b7859 100644 --- a/src/Cake.VulnerabilityScanner/Cake.VulnerabilityScanner.csproj +++ b/src/Cake.VulnerabilityScanner/Cake.VulnerabilityScanner.csproj @@ -1,7 +1,7 @@ - net6.0;netcoreapp3.1 + net6.0;netcoreapp3.1;net5.0 ProjectUrl=$(projectUrl) $(NuspecProperties);PackageProjectUrl=$(PackageProjectUrl) $(NuspecProperties);authors=$(authors) @@ -26,7 +26,7 @@ - + all diff --git a/tests/Cake.VulnerabilityScanner.Tests/Cake.VulnerabilityScanner.Tests.csproj b/tests/Cake.VulnerabilityScanner.Tests/Cake.VulnerabilityScanner.Tests.csproj index a122df7..dd11dfb 100644 --- a/tests/Cake.VulnerabilityScanner.Tests/Cake.VulnerabilityScanner.Tests.csproj +++ b/tests/Cake.VulnerabilityScanner.Tests/Cake.VulnerabilityScanner.Tests.csproj @@ -8,7 +8,7 @@ - +