Time Trial object is the following:
- An object that is anchored at the bottom
- A background that has an image
- Text which is constantly being modified ----
- Note it also exists in a separate canvas
- Also note: It exists within DontDestroyOnLoad
There is a CopyToClipboard message that the webview sends.
This means the webview needs to send the copy to clipboard message, while sending the contents to copy within the message.
So within a react file I might have access to the window! <- confirmed
Extension sees the rightclick -> Copy command
Extension tells webview to copy via CopyToClipboard
{ | |
"name": "education", | |
"settings": "{\"settings\":\"{\\n \\\"workbench.statusBar.visible\\\": false,\\n\\t\\\"workbench.layoutControl.enabled\\\": false,\\n \\\"window.title\\\": \\\"VS Code for Education\\\",\\n \\\"window.menuBarVisibility\\\": \\\"toggle\\\",\\n \\\"breadcrumbs.enabled\\\": false,\\n \\\"editor.minimap.enabled\\\": false,\\n \\\"extensions.ignoreRecommendations\\\": true,\\n \\\"editor.inlineSuggest.enabled\\\": true,\\n \\\"editor.fontSize\\\": 15,\\n \\\"editor.lineHeight\\\": 1.75,\\n \\\"python.wasm.runtime\\\": \\\"vscode-edu-py:///\\\"\\n}\"}", | |
"globalState": "{\"storage\":{\"menu.hiddenCommands\": {\"EditorTitle\":[\"workbench.action.splitEditor\"]},\"workbench.panel.markers.hidden\":\"[{\\\"id\\\":\\\"workbench.panel.markers.view\\\",\\\"isHidden\\\":false}]\",\"workbench.panel.output.hidden\":\"[{\\\"id\\\":\\\"workbench.panel.output\\\",\\\"isHidden\\\":false}]\",\"terminal.hidden\":\"[{\\\"id\\\":\\\"terminal\\\",\\\"isHidden\\\":fals |
This stuff ain't easy, so here's a WIP "get you up to speed" doc.
Install the MSBuild Log Viewer or use the online viewer.
File->Start Page, make sure this box is checked
Your task is probably on .NET Core, meanwhile you're building with the net472
-targeted MSBuild.exe. To fix this: either switch from using MSBuild.exe
to using dotnet build
, or change the TargetFramework of your task.
TargetFramework
property in your task's project to net472
.A brief explanation on debugging msbuild tasks. Anything done on CLI (command-line interface) should be done in a Visual Studio Developer Command Prompt. If you have VS installed, search for "Developer command prompt."
This also works for dotnet
builds.
cd your/project/directory
set MSBUILDDEBUGONSTART=1
MSBuild is open-source, which means you should be able to step through the execution of a build by following these steps.
msbuild --version
You should see something like MSBuild version 17.3.1+362d18ee6 for .NET Framework
git clone https://github.com/dotnet/msbuild
git checkout 362d18ee6
Just My Code
If your target is influenced by file state or properties defined/modified by other targets. If so, you have a dependency
AfterTargets || BeforeTargets: ANY TIME x target runs, then run this target.
Beforetargets = publish is effectively equivalent to going over to publish and setting its dependsontargets=publishcontainers.
DependsOnTargets exists for targets that KNOW what they depend on when they are created.
BeforeTargets & AfterTargets are built for targets that were created AFTER certain targets, but need to hook in at specific points