Skip to content

Commit

Permalink
Fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
rodion-m committed Jun 17, 2023
1 parent ea8717d commit 76fba21
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 6 deletions.
26 changes: 26 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"version": "0.2.0",
"configurations": [
{
// 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
"name": ".NET Core Launch (console)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
// If you have changed target frameworks, make sure to update the program path.
"program": "${workspaceFolder}/tests/OpenAI.ChatGpt.UnitTests/bin/Debug/net7.0/OpenAI.ChatGpt.UnitTests.dll",
"args": [],
"cwd": "${workspaceFolder}/tests/OpenAI.ChatGpt.UnitTests",
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
"console": "internalConsole",
"stopAtEntry": false
},
{
"name": ".NET Core Attach",
"type": "coreclr",
"request": "attach"
}
]
}
41 changes: 41 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "build",
"command": "dotnet",
"type": "process",
"args": [
"build",
"${workspaceFolder}/tests/OpenAI.ChatGpt.UnitTests/OpenAI.ChatGpt.UnitTests.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
},
{
"label": "publish",
"command": "dotnet",
"type": "process",
"args": [
"publish",
"${workspaceFolder}/tests/OpenAI.ChatGpt.UnitTests/OpenAI.ChatGpt.UnitTests.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
},
{
"label": "watch",
"command": "dotnet",
"type": "process",
"args": [
"watch",
"run",
"--project",
"${workspaceFolder}/tests/OpenAI.ChatGpt.UnitTests/OpenAI.ChatGpt.UnitTests.csproj"
],
"problemMatcher": "$msCompile"
}
]
}
6 changes: 0 additions & 6 deletions OpenAI_DotNet.sln
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{80DB
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ChatGpt.SpectreConsoleExample", "samples\ChatGpt.SpectreConsoleExample\ChatGpt.SpectreConsoleExample.csproj", "{E43C67EE-337F-47EA-B41A-269DBFFC3F95}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OpenAI.ChatGpt.Extensions", "OpenAI.ChatGpt.Extensions\OpenAI.ChatGpt.Extensions.csproj", "{124630DD-563A-4C9D-AA9A-5D24564CB5DB}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ChatGpt.ConsoleExample", "samples\ChatGpt.ConsoleExample\ChatGpt.ConsoleExample.csproj", "{8C2E3643-95B1-44E8-A0BD-66576DCF7E3B}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OpenAI.ChatGpt.EntityFrameworkCore", "OpenAI.ChatGpt.EntityFrameworkCore\OpenAI.ChatGpt.EntityFrameworkCore.csproj", "{DB6D8BCB-F003-4624-9277-3B4E1B7CDBCD}"
Expand Down Expand Up @@ -45,10 +43,6 @@ Global
{E43C67EE-337F-47EA-B41A-269DBFFC3F95}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E43C67EE-337F-47EA-B41A-269DBFFC3F95}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E43C67EE-337F-47EA-B41A-269DBFFC3F95}.Release|Any CPU.Build.0 = Release|Any CPU
{124630DD-563A-4C9D-AA9A-5D24564CB5DB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{124630DD-563A-4C9D-AA9A-5D24564CB5DB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{124630DD-563A-4C9D-AA9A-5D24564CB5DB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{124630DD-563A-4C9D-AA9A-5D24564CB5DB}.Release|Any CPU.Build.0 = Release|Any CPU
{8C2E3643-95B1-44E8-A0BD-66576DCF7E3B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8C2E3643-95B1-44E8-A0BD-66576DCF7E3B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8C2E3643-95B1-44E8-A0BD-66576DCF7E3B}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand Down

0 comments on commit 76fba21

Please sign in to comment.