From 24d565f713f085e6c2356cf61a8a2ea91c210d45 Mon Sep 17 00:00:00 2001 From: Wayne Munro Date: Sat, 1 Jun 2019 20:30:37 +0200 Subject: [PATCH 1/3] Updated netcoreapp to version 2.2 and nuget package versions to the latest --- .../ImageResizeWebApp.csproj | 30 +++++++++++-------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/ImageResizeWebApp/ImageResizeWebApp/ImageResizeWebApp.csproj b/ImageResizeWebApp/ImageResizeWebApp/ImageResizeWebApp.csproj index f02d019..488cb95 100644 --- a/ImageResizeWebApp/ImageResizeWebApp/ImageResizeWebApp.csproj +++ b/ImageResizeWebApp/ImageResizeWebApp/ImageResizeWebApp.csproj @@ -1,11 +1,11 @@ - + Exe - netcoreapp2.0 + netcoreapp2.2 true Latest $(AssetTargetFallback);portable-net45+win8+wp8+wpa81; @@ -14,20 +14,24 @@ exe + 2b2f86ba-c753-4100-87a7-5fa3b826c745 - - - - - - - - - - - + + + + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + From 4c046d5e9f3464dd7bd9f48c1c212e926d9c313b Mon Sep 17 00:00:00 2001 From: Wayne Munro Date: Sat, 1 Jun 2019 20:31:18 +0200 Subject: [PATCH 2/3] vs code support --- .vscode/launch.json | 34 ++++++++++++++++++++++++++++++++++ .vscode/tasks.json | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+) create mode 100644 .vscode/launch.json create mode 100644 .vscode/tasks.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..ba55e12 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,34 @@ +{ + // Use IntelliSense to find out which attributes exist for C# debugging + // Use hover for the description of the existing attributes + // For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md + "version": "0.2.0", + "configurations": [ + { + "name": ".NET Core Launch (web)", + "type": "coreclr", + "request": "launch", + "preLaunchTask": "build", + // If you have changed target frameworks, make sure to update the program path. + "program": "${workspaceFolder}/ImageResizeWebApp/ImageResizeWebApp/bin/Debug/netcoreapp2.0/ImageResizeWebApp.dll", + "args": [], + "cwd": "${workspaceFolder}/ImageResizeWebApp/ImageResizeWebApp", + "stopAtEntry": false, + "launchBrowser": { + "enabled": true + }, + "env": { + "ASPNETCORE_ENVIRONMENT": "Development" + }, + "sourceFileMap": { + "/Views": "${workspaceFolder}/Views" + } + }, + { + "name": ".NET Core Attach", + "type": "coreclr", + "request": "attach", + "processId": "${command:pickProcess}" + } + ] +} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..128f149 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,36 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "build", + "command": "dotnet", + "type": "process", + "args": [ + "build", + "${workspaceFolder}/ImageResizeWebApp/ImageResizeWebApp/ImageResizeWebApp.csproj" + ], + "problemMatcher": "$tsc" + }, + { + "label": "publish", + "command": "dotnet", + "type": "process", + "args": [ + "publish", + "${workspaceFolder}/ImageResizeWebApp/ImageResizeWebApp/ImageResizeWebApp.csproj" + ], + "problemMatcher": "$tsc" + }, + { + "label": "watch", + "command": "dotnet", + "type": "process", + "args": [ + "watch", + "run", + "${workspaceFolder}/ImageResizeWebApp/ImageResizeWebApp/ImageResizeWebApp.csproj" + ], + "problemMatcher": "$tsc" + } + ] +} \ No newline at end of file From 8faf1620142a1e6b8b7c8541a4a5ab1b176757c6 Mon Sep 17 00:00:00 2001 From: Wayne Munro Date: Sat, 1 Jun 2019 20:35:46 +0200 Subject: [PATCH 3/3] updated vs code lauch to netcoreapp2.2 --- .vscode/launch.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index ba55e12..b15a1a2 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -10,7 +10,7 @@ "request": "launch", "preLaunchTask": "build", // If you have changed target frameworks, make sure to update the program path. - "program": "${workspaceFolder}/ImageResizeWebApp/ImageResizeWebApp/bin/Debug/netcoreapp2.0/ImageResizeWebApp.dll", + "program": "${workspaceFolder}/ImageResizeWebApp/ImageResizeWebApp/bin/Debug/netcoreapp2.2/ImageResizeWebApp.dll", "args": [], "cwd": "${workspaceFolder}/ImageResizeWebApp/ImageResizeWebApp", "stopAtEntry": false,