[xharness] Add launch.json/tasks.json for xharness. (#20428)
This commit is contained in:
Родитель
ce139cb480
Коммит
53d21b14db
|
@ -12,7 +12,7 @@ endif
|
|||
|
||||
MTOUCH=$(IOS_DESTDIR)/$(MONOTOUCH_PREFIX)/bin/mtouch
|
||||
|
||||
XHARNESS_EXECUTABLE=xharness/bin/Debug/$(DOTNET_TFM)/xharness.dll
|
||||
XHARNESS_EXECUTABLE=xharness/bin/Debug/xharness.dll
|
||||
|
||||
export MD_MTOUCH_SDK_ROOT=$(IOS_DESTDIR)/$(MONOTOUCH_PREFIX)
|
||||
export MSBUILD_EXE_PATH=$(MONO_PREFIX)/lib/mono/msbuild/15.0/bin/MSBuild.dll
|
||||
|
|
|
@ -4509,7 +4509,7 @@ public class Dummy {
|
|||
environment_variables ["SKIP_SIMULATOR_SETUP"] = "1";
|
||||
environment_variables ["USE_TCP_TUNNEL"] = null;
|
||||
|
||||
var executable = Path.Combine (Configuration.RootPath, "tests", "xharness", "bin", "Debug", Configuration.DotNetTfm, "xharness");
|
||||
var executable = Path.Combine (Configuration.RootPath, "tests", "xharness", "bin", "Debug", "xharness");
|
||||
var args = new List<string> ();
|
||||
args.Add ("--run");
|
||||
args.Add (csprojpath);
|
||||
|
|
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
// Use IntelliSense to learn about possible attributes.
|
||||
// Hover to view descriptions of existing attributes.
|
||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "C#: xharness Debug Site",
|
||||
"preLaunchTask": "dotnet: build",
|
||||
"type": "coreclr",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}/bin/Debug/xharness.dll",
|
||||
"args": [
|
||||
"--verbose",
|
||||
"--jenkins:server",
|
||||
"--autoconf",
|
||||
"--rootdir",
|
||||
"..",
|
||||
],
|
||||
"cwd": "${workspaceFolder}",
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"type": "dotnet",
|
||||
"task": "build",
|
||||
"group": "build",
|
||||
"problemMatcher": [],
|
||||
"label": "dotnet: build"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -9,6 +9,7 @@
|
|||
<EnableDefaultItems>false</EnableDefaultItems>
|
||||
<WarningsAsErrors>Nullable</WarningsAsErrors>
|
||||
<!--<Nullable>enable</Nullable>-->
|
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition=" '$(RunConfiguration)' == 'Default' ">
|
||||
|
|
Загрузка…
Ссылка в новой задаче