Skip to content

Commit 7902954

Browse files
authored
Merge pull request #752 from unoplatform/dev/mara/devexpress-vscode
chore: added vscode folder
2 parents a18fd2d + eee8f22 commit 7902954

File tree

3 files changed

+120
-0
lines changed

3 files changed

+120
-0
lines changed
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
{
2+
// Use IntelliSense to find out which attributes exist for C# debugging
3+
// Use hover for the description of the existing attributes
4+
// For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"name": "Uno Platform Mobile",
9+
"type": "Uno",
10+
"request": "launch",
11+
// any Uno* task will do, this is simply to satisfy vscode requirement when a launch.json is present
12+
"preLaunchTask": "Uno: android | Debug | android-x64"
13+
},
14+
{
15+
// Use IntelliSense to find out which attributes exist for C# debugging
16+
// Use hover for the description of the existing attributes
17+
// For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
18+
"name": "Debug (Chrome, WebAssembly)",
19+
"type": "chrome",
20+
"request": "launch",
21+
"url": "http://localhost:5000",
22+
"webRoot": "${workspaceFolder}/DevExpressApp",
23+
"inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
24+
"timeout": 30000,
25+
"preLaunchTask": "build-wasm",
26+
"server": {
27+
"runtimeExecutable": "dotnet",
28+
"program": "run",
29+
"args": ["--no-build","-f","net8.0-browserwasm","--launch-profile", "DevExpressApp (WebAssembly)"],
30+
"outputCapture": "std",
31+
"timeout": 30000,
32+
"cwd": "${workspaceFolder}/DevExpressApp"
33+
}
34+
},
35+
{
36+
// Use IntelliSense to find out which attributes exist for C# debugging
37+
// Use hover for the description of the existing attributes
38+
// For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
39+
"name": "Uno Platform Desktop (Debug)",
40+
"type": "coreclr",
41+
"request": "launch",
42+
"preLaunchTask": "build-desktop",
43+
// If you have changed target frameworks, make sure to update the program path.
44+
"program": "${workspaceFolder}/DevExpressApp/bin/Debug/net8.0-desktop/DevExpressApp.dll",
45+
"args": [],
46+
"launchSettingsProfile": "DevExpressApp (Desktop)",
47+
"env": {
48+
"DOTNET_MODIFIABLE_ASSEMBLIES": "debug"
49+
},
50+
"cwd": "${workspaceFolder}/DevExpressApp",
51+
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
52+
"console": "internalConsole",
53+
"stopAtEntry": false
54+
},
55+
]
56+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"explorer.fileNesting.enabled": true,
3+
"explorer.fileNesting.expand": false,
4+
"explorer.fileNesting.patterns": {
5+
"*.xaml": "$(capture).xaml.cs"
6+
}
7+
}
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"label": "build-wasm",
6+
"command": "dotnet",
7+
"type": "process",
8+
"args": [
9+
"build",
10+
"${workspaceFolder}/DevExpressApp/DevExpressApp.csproj",
11+
"/property:GenerateFullPaths=true",
12+
"/property:TargetFramework=net8.0-browserwasm",
13+
"/consoleloggerparameters:NoSummary"
14+
],
15+
"problemMatcher": "$msCompile"
16+
},
17+
{
18+
"label": "publish-wasm",
19+
"command": "dotnet",
20+
"type": "process",
21+
"args": [
22+
"publish",
23+
"${workspaceFolder}/DevExpressApp/DevExpressApp.csproj",
24+
"/property:GenerateFullPaths=true",
25+
"/property:TargetFramework=net8.0-browserwasm",
26+
"/consoleloggerparameters:NoSummary"
27+
],
28+
"problemMatcher": "$msCompile"
29+
},
30+
{
31+
"label": "build-desktop",
32+
"command": "dotnet",
33+
"type": "process",
34+
"args": [
35+
"build",
36+
"${workspaceFolder}/DevExpressApp/DevExpressApp.csproj",
37+
"/property:GenerateFullPaths=true",
38+
"/property:TargetFramework=net8.0-desktop",
39+
"/consoleloggerparameters:NoSummary"
40+
],
41+
"problemMatcher": "$msCompile"
42+
},
43+
{
44+
"label": "publish-desktop",
45+
"command": "dotnet",
46+
"type": "process",
47+
"args": [
48+
"publish",
49+
"${workspaceFolder}/DevExpressApp/DevExpressApp.csproj",
50+
"/property:GenerateFullPaths=true",
51+
"/property:TargetFramework=net8.0-desktop",
52+
"/consoleloggerparameters:NoSummary"
53+
],
54+
"problemMatcher": "$msCompile"
55+
}
56+
]
57+
}

0 commit comments

Comments
 (0)