diff --git a/.gitignore b/.gitignore index 2874857..7c0116b 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,4 @@ appsettings.Development.json /test/data/test-isn/bin/ /test/data/test-isn/obj .fake +artifacts/ diff --git a/.vscode/launch.json b/.vscode/launch.json index e179e1e..4065eda 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -27,8 +27,8 @@ "name": "web", "type": "coreclr", "request": "launch", - "preLaunchTask": "build", - "program": "${workspaceFolder}/src/isnd/bin/Debug/netcoreapp2.1/isnd.dll", + "preLaunchTask": "publish", + "program": "${workspaceFolder}/artifacts/isnd.dll", "args": [], "cwd": "${workspaceFolder}/src/isnd", "stopAtEntry": false, diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 1eaca58..3f93ad3 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -45,8 +45,25 @@ "type": "process", "args": [ "publish", - "/property:GenerateFullPaths=true", - "/consoleloggerparameters:NoSummary" + "/p:GenerateFullPaths=true", + "/consoleloggerparameters:NoSummary", + "/p:TargetFramework=netcoreapp2.1", + "/p:RuntimeIdentifier=linux-x64", + "/p:PublishDir=${workspaceFolder}/artifacts" + ], + "problemMatcher": "$msCompile", + "options": { + "cwd": "${workspaceFolder}" + } + }, + { + "label": "monopublish", + "command": "msbuild", + "type": "process", + "args": [ + "/t:publish", + "/p:TargetFramework=netcoreapp2.1;PublishDir=${workspaceFolder}/artiffacts;RuntimeIdentifier=linux-x64", + ], "problemMatcher": "$msCompile" }, diff --git a/src/isn.abst/isn.abst.csproj b/src/isn.abst/isn.abst.csproj index 35ad668..db4c062 100644 --- a/src/isn.abst/isn.abst.csproj +++ b/src/isn.abst/isn.abst.csproj @@ -2,7 +2,8 @@ 1.0.1 1.0.5 - netcoreapp2.1 + netcoreapp2.1 + linux-x64 NETSDK1138 1.0.5.0 1.0.5.0 diff --git a/src/isn/isn.csproj b/src/isn/isn.csproj index 03ad2b3..89e48d6 100644 --- a/src/isn/isn.csproj +++ b/src/isn/isn.csproj @@ -2,6 +2,7 @@ Exe netcoreapp2.1 + linux-x64 nuget_cli 45b74c62-05bc-4603-95b4-3e80ae2fdf50 1.0.5 diff --git a/src/isnd/isnd.csproj b/src/isnd/isnd.csproj index 31616bb..1e4bae4 100644 --- a/src/isnd/isnd.csproj +++ b/src/isnd/isnd.csproj @@ -1,6 +1,7 @@  - netcoreapp2.1 + netcoreapp2.1 + linux-x64 85fd766d-5d23-4476-aed1-463b2942e86a true WTFPL @@ -12,27 +13,29 @@ - - + + - + - - - - + + + + All + + - + diff --git a/test/isn.tests/isn.tests.csproj b/test/isn.tests/isn.tests.csproj index 5012d88..d19ccdb 100644 --- a/test/isn.tests/isn.tests.csproj +++ b/test/isn.tests/isn.tests.csproj @@ -1,6 +1,7 @@  netcoreapp2.1 + linux-x64 false NETSDK1138 1.0.5.0 diff --git a/test/isnd.tests/isnd.tests.csproj b/test/isnd.tests/isnd.tests.csproj index 4c1d776..307598d 100644 --- a/test/isnd.tests/isnd.tests.csproj +++ b/test/isnd.tests/isnd.tests.csproj @@ -1,6 +1,7 @@  - netcoreapp2.1 + netcoreapp2.1 + linux-x64 false d7144e46-4e63-4391-ba86-64b61f6e7be4 NETSDK1138 @@ -17,6 +18,7 @@ +