Skip to content

Commit 1c19d5a

Browse files
committed
Linux/macOS/Docker support / Added TextSummary example module / Moved to .NET6
1 parent 23b8ab3 commit 1c19d5a

File tree

139 files changed

+21765
-12277
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

139 files changed

+21765
-12277
lines changed

.vscode/launch.json

Lines changed: 86 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,12 @@
33
"configurations": [
44

55
{
6-
"name": "Build CodeProject.SenseAI",
6+
"name": "Build All (Win)",
77
"type": "coreclr",
88
"request": "launch",
9+
"preLaunchTask": "build-all-win",
910
"program": "dotnet",
10-
"args": [
11-
"build",
12-
"${workspaceFolder}/src/API/Server/FrontEnd",
13-
"/property:GenerateFullPaths=true",
14-
"/consoleloggerparameters:NoSummary"
15-
],
11+
"args": [ "--version" ],
1612
"cwd": "${workspaceFolder}/src/API/Server/FrontEnd/",
1713
"stopAtEntry": false,
1814
"env": {
@@ -21,21 +17,78 @@
2117
},
2218

2319
{
24-
"name": "Launch CodeProject.SenseAI",
20+
"name": "Build All (Linux)",
2521
"type": "coreclr",
2622
"request": "launch",
27-
"preLaunchTask": "prepare-server",
28-
"windows": {
29-
"program": "${workspaceFolder}/src/API/Server/FrontEnd/bin/Debug/net5.0/CodeProject.SenseAI.Server.exe"
23+
"preLaunchTask": "build-all-linux",
24+
"program": "dotnet",
25+
"args": [ "--version" ],
26+
"cwd": "${workspaceFolder}/src/API/Server/FrontEnd/",
27+
"stopAtEntry": false,
28+
"env": {
29+
"ASPNETCORE_ENVIRONMENT": "Development"
30+
}
31+
},
32+
33+
{
34+
"name": "Launch SenseAI (Win)",
35+
"type": "coreclr",
36+
"request": "launch",
37+
"preLaunchTask": "build-all-win",
38+
"program": "${workspaceFolder}/src/API/Server/FrontEnd/bin/Debug/net6.0/CodeProject.SenseAI.Server.exe",
39+
"args" : [ ],
40+
"cwd": "${workspaceFolder}/src/API/Server/FrontEnd/",
41+
"stopAtEntry": false,
42+
43+
"serverReadyAction": {
44+
"action": "openExternally",
45+
"pattern": "\\bNow listening on:\\s+(https?://\\S+)",
46+
"uriFormat": "http://localhost:%s/swagger"
3047
},
31-
"osx": {
32-
"program": "${workspaceFolder}/src/API/Server/FrontEnd/bin/Debug/net5.0/CodeProject.SenseAI.Server.dll"
48+
49+
"env": {
50+
"ASPNETCORE_ENVIRONMENT": "Development",
51+
"RUNNING_IN_VSCODE": "true"
52+
}
53+
},
54+
55+
{
56+
"name": "Launch SenseAI (Linux)",
57+
"type": "coreclr",
58+
"request": "launch",
59+
"preLaunchTask": "build-all-linux",
60+
"program": "${workspaceFolder}/src/API/Server/FrontEnd/bin/Debug/net6.0/CodeProject.SenseAI.Server",
61+
"args" : [ ],
62+
"cwd": "${workspaceFolder}",
63+
"stopAtEntry": false,
64+
65+
"serverReadyAction": {
66+
"action": "openExternally",
67+
"pattern": "\\bNow listening on:\\s+(https?://\\S+)",
68+
"uriFormat": "http://localhost:%s/swagger"
3369
},
34-
"linux": {
35-
"program": "${workspaceFolder}/src/API/Server/FrontEnd/bin/Debug/net5.0/CodeProject.SenseAI.Server.dll"
70+
71+
"env": {
72+
"ASPNETCORE_ENVIRONMENT": "Development",
73+
"RUNNING_IN_VSCODE": "true"
3674
},
37-
"args" : [ "--PORT=5000" ],
38-
"cwd": "${workspaceFolder}/src/AnalysisLayer/DeepStack/intelligencelayer/",
75+
76+
"logging": {
77+
"engineLogging": false,
78+
"moduleLoad": false,
79+
"exceptions": false,
80+
"browserStdOut": false
81+
},
82+
},
83+
84+
{
85+
"name": "Launch SenseAI (Debug/Linux)",
86+
"type": "coreclr",
87+
"request": "launch",
88+
"preLaunchTask": "pre-launch-server-linux-debug",
89+
"program": "${workspaceFolder}/src/API/Server/FrontEnd/bin/Debug/net6.0/CodeProject.SenseAI.Server",
90+
"args" : [ "--LaunchAnalysisServices=false" ],
91+
"cwd": "${workspaceFolder}/src/API/Server/FrontEnd/bin/Debug/net6.0/",
3992
"stopAtEntry": false,
4093

4194
"serverReadyAction": {
@@ -45,25 +98,34 @@
4598
},
4699

47100
"env": {
48-
"ASPNETCORE_ENVIRONMENT": "Development"
49-
}
101+
"ASPNETCORE_ENVIRONMENT": "Development",
102+
"RUNNING_IN_VSCODE": "true"
103+
},
104+
105+
"logging": {
106+
"engineLogging": false,
107+
"moduleLoad": false,
108+
"exceptions": true,
109+
"browserStdOut": false
110+
},
50111
},
51112

52113
{
53-
"name": "CodeProject.SenseAI Playground",
114+
"name": "Launch SenseAI Playground (Win)",
54115
"type": "coreclr",
55116
"request": "launch",
56-
"preLaunchTask": "prepare-playground",
57-
"windows": {
117+
"preLaunchTask": "launch-server-win",
118+
// "windows": { - VS Code linter gets all upset at this
58119
"program": "${workspaceFolder}/demos/dotNet/CodeProject.SenseAI.Playground/bin/Debug/net5.0-windows/win-x64/CodeProject.SenseAI.Demo.Playground.exe",
59-
},
120+
// },
60121
"args": [ ],
61122
"cwd": "${workspaceFolder}",
62123
"stopAtEntry": false,
63124
"console": "internalConsole",
64125

65126
"env": {
66-
"ASPNETCORE_ENVIRONMENT": "Development"
127+
"ASPNETCORE_ENVIRONMENT": "Development",
128+
"RUNNING_IN_VSCODE": "true"
67129
}
68130
}
69131
]

0 commit comments

Comments
 (0)