-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add vscode folder and remove visualstate setters
- Loading branch information
Showing
4 changed files
with
128 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
{ | ||
// 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 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Uno Platform Mobile", | ||
"type": "Uno", | ||
"request": "launch", | ||
// any Uno* task will do, this is simply to satisfy vscode requirement when a launch.json is present | ||
"preLaunchTask": "Uno: android | Debug | android-x64" | ||
}, | ||
{ | ||
// 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": "Debug (Chrome, WebAssembly)", | ||
"type": "chrome", | ||
"request": "launch", | ||
"url": "http://localhost:5000", | ||
"webRoot": "${workspaceFolder}/ToDo", | ||
"inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}", | ||
"timeout": 30000, | ||
"preLaunchTask": "build-wasm", | ||
"server": { | ||
"runtimeExecutable": "dotnet", | ||
"program": "run", | ||
"args": ["--no-build","-f","net8.0-browserwasm","--launch-profile", "ToDo (WebAssembly)"], | ||
"outputCapture": "std", | ||
"timeout": 30000, | ||
"cwd": "${workspaceFolder}/ToDo" | ||
} | ||
}, | ||
{ | ||
// 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": "Uno Platform Desktop (Debug)", | ||
"type": "coreclr", | ||
"request": "launch", | ||
"preLaunchTask": "build-desktop", | ||
// If you have changed target frameworks, make sure to update the program path. | ||
"program": "${workspaceFolder}/ToDo/bin/Debug/net8.0-desktop/ToDo.dll", | ||
"args": [], | ||
"launchSettingsProfile": "ToDo (Desktop)", | ||
"env": { | ||
"DOTNET_MODIFIABLE_ASSEMBLIES": "debug" | ||
}, | ||
"cwd": "${workspaceFolder}/ToDo", | ||
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console | ||
"console": "internalConsole", | ||
"stopAtEntry": false | ||
}, | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"explorer.fileNesting.enabled": true, | ||
"explorer.fileNesting.expand": false, | ||
"explorer.fileNesting.patterns": { | ||
"*.xaml": "$(capture).xaml.cs" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
{ | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "build-wasm", | ||
"command": "dotnet", | ||
"type": "process", | ||
"args": [ | ||
"build", | ||
"${workspaceFolder}/ToDo/ToDo.csproj", | ||
"/property:GenerateFullPaths=true", | ||
"/property:TargetFramework=net8.0-browserwasm", | ||
"/consoleloggerparameters:NoSummary" | ||
], | ||
"problemMatcher": "$msCompile" | ||
}, | ||
{ | ||
"label": "publish-wasm", | ||
"command": "dotnet", | ||
"type": "process", | ||
"args": [ | ||
"publish", | ||
"${workspaceFolder}/ToDo/ToDo.csproj", | ||
"/property:GenerateFullPaths=true", | ||
"/property:TargetFramework=net8.0-browserwasm", | ||
"/consoleloggerparameters:NoSummary" | ||
], | ||
"problemMatcher": "$msCompile" | ||
}, | ||
{ | ||
"label": "build-desktop", | ||
"command": "dotnet", | ||
"type": "process", | ||
"args": [ | ||
"build", | ||
"${workspaceFolder}/ToDo/ToDo.csproj", | ||
"/property:GenerateFullPaths=true", | ||
"/property:TargetFramework=net8.0-desktop", | ||
"/consoleloggerparameters:NoSummary" | ||
], | ||
"problemMatcher": "$msCompile" | ||
}, | ||
{ | ||
"label": "publish-desktop", | ||
"command": "dotnet", | ||
"type": "process", | ||
"args": [ | ||
"publish", | ||
"${workspaceFolder}/ToDo/ToDo.csproj", | ||
"/property:GenerateFullPaths=true", | ||
"/property:TargetFramework=net8.0-desktop", | ||
"/consoleloggerparameters:NoSummary" | ||
], | ||
"problemMatcher": "$msCompile" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters