|
|
|
@ -42,9 +42,18 @@
|
|
|
|
|
"//全局设置,行运行一次,为后续准备\n",
|
|
|
|
|
"#r \"nuget:System.Net.Http.Json\"\n",
|
|
|
|
|
"#r \"nuget:Microsoft.Extensions.DependencyInjection\"\n",
|
|
|
|
|
"#r \"./Publish/HttpClientStudy.Core/HttpClientStudy.Core.dll\"\n",
|
|
|
|
|
"\n",
|
|
|
|
|
"global using System.Net.Http;\n",
|
|
|
|
|
"global using System.Net.Http.Headers;\n"
|
|
|
|
|
"global using System.Net.Http.Headers;\n",
|
|
|
|
|
"global using HttpClientStudy.Config;\n",
|
|
|
|
|
"global using HttpClientStudy.Core;\n",
|
|
|
|
|
"global using HttpClientStudy.Core.Utilities;\n",
|
|
|
|
|
"\n",
|
|
|
|
|
"//启动已发布的WebApi项目\n",
|
|
|
|
|
"Console.WriteLine(\"启动WebApi项目\");\n",
|
|
|
|
|
"var startMessage = DotnetCommondUtility.ExecuteCommand(\"exec\",\"./Publish/HttpClientStudy.WebApp/HttpClientStudy.WebApp.dll\");\n",
|
|
|
|
|
"Console.WriteLine(startMessage);\n"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|