diff options
author | Shreyas Jejurkar <shreyasjejurkar123@live.com> | 2021-11-01 21:22:19 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-01 21:22:19 +0300 |
commit | fa25640ac2358948045a15ba1639c7ed3d6aeed5 (patch) | |
tree | e3543f61991f185338ab7d2b5549ac00b97e6383 /docs | |
parent | 94bc5e6d9bb1bbe296aad45534b1f5a1bbb5cbdf (diff) |
feat (Codespaces) - Added Commonly used tasks to `tasks.json` for VSCode users. (#37873)
* feat (codespaces) - Add EditorConfig as pre-installed extension.
* feat (codespaces/vscode) - Add commonly performed tasks to tasks.json
* Addressed PR feedback.
1. Added C# XML documentation comments extension to suggested extension.
2. Added some more Omnisharp options to devcontainer based on our omnisharp.json file
3. Renamed tasks to Run all test projects.
* Removed extra space
* Formatted the Json file using inbuilt vs code formatter!
* indent issues
* Update build instruction
* Keep 8 tabs as previosuly!
Diffstat (limited to 'docs')
-rw-r--r-- | docs/BuildFromSource.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/BuildFromSource.md b/docs/BuildFromSource.md index e32909629c..a293312c33 100644 --- a/docs/BuildFromSource.md +++ b/docs/BuildFromSource.md @@ -157,6 +157,8 @@ The following extensions are recommended when developing in the ASP.NET Core rep - [EditorConfig](https://marketplace.visualstudio.com/items?itemName=EditorConfig.EditorConfig) +- [C# XML Documentation Comments](https://marketplace.visualstudio.com/items?itemName=k--kato.docomment) + #### WiX (Optional) If you plan on working with the Windows installers defined in [src/Installers/Windows](../src/Installers/Windows), you will need to install the WiX toolkit from <https://wixtoolset.org/releases/>. @@ -284,6 +286,8 @@ code . > in `~/.vscode-server/server-env-setup`. > See <https://code.visualstudio.com/docs/remote/wsl#_advanced-environment-setup-script> for details. +In Visual Studio Code, press `CTRL + SHIFT + P` (`CMD + SHIFT + P` on mac) to open command palette, then search and select for `Run Tasks` option. In task list, there are couple of most used tasks are already defined, in that you can select `Build entire repository` option from it to build the repository. Once you select that option, on next window you need to select configuration type from `Debug` OR `Release`. For development purpose one can go with `Debug` option and for actual testing one can choose `Release` mode as binaries will be optimized in this mode. + ### Building on command-line When developing in VS Code, you'll need to use the `build.cmd` or `build.sh` scripts in order to build the project. You can learn more about the command line options available, check out [the section below](#using-dotnet-on-command-line-in-this-repo). |