You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/BuildFromSource.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -88,9 +88,9 @@ Visual Studio 2019 (16.10 Preview 3) is required to build the repo locally. If y
88
88
> You can do so by running the `Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser` command
89
89
> in PowerShell. For more information on execution policies, you can read the [execution policy docs](https://docs.microsoft.com/powershell/module/microsoft.powershell.security/set-executionpolicy).
90
90
91
-
The [global.json](/global.json) file specifies the minimum requirements needed to build using `msbuild`. The [eng/scripts/vs.json](/eng/scripts/vs.json) file provides a description of the components needed to build within VS. If you plan on developing in Visual Studio, you will need to have these components installed.
91
+
The [global.json](/global.json) file specifies the minimum requirements needed to build using `msbuild`. The [eng/scripts/vs.16.json](/eng/scripts/vs.16.json) file provides a description of the components needed to build within VS. If you plan on developing in Visual Studio, you will need to have these components installed.
92
92
93
-
> :bulb: The `InstallVisualStudio.ps1` script mentioned above reads from the `vs.json` file to determine what components to install.
93
+
> :bulb: The `InstallVisualStudio.ps1` script mentioned above reads from the `vs.16.json` file to determine what components to install.
94
94
95
95
#### [Git](https://git-scm.org) on Windows
96
96
@@ -284,7 +284,7 @@ To build a code change associated with a modification, run the build script in t
284
284
On Windows, you can run the command script:
285
285
286
286
```powershell
287
-
.\build.cmd
287
+
.\eng\build.cmd
288
288
```
289
289
290
290
On macOS/Linux, you can run the shell script:
@@ -293,7 +293,7 @@ On macOS/Linux, you can run the shell script:
293
293
./build.sh
294
294
```
295
295
296
-
> :bulb: Before using the `build.cmd` or `build.sh` at the top-level or in a subfolder, you will need to make sure that [the dependencies documented above](#step-2-install-pre-requisites) have been installed.
296
+
> :bulb: Before using the `.\eng\build.cmd` or `.\eng\build.sh` at the top-level or in a subfolder, you will need to make sure that [the dependencies documented above](#step-2-install-pre-requisites) have been installed.
297
297
298
298
By default, all of the C# projects are built. Some C# projects require NodeJS to be installed to compile JavaScript assets which are then checked in as source. If NodeJS is detected on the path, the NodeJS projects will be compiled as part of building C# projects. If NodeJS is not detected on the path, the JavaScript assets checked in previously will be used instead. To disable building NodeJS projects, specify `-noBuildNodeJS` or `--no-build-nodejs` on the command line.
299
299
@@ -369,9 +369,9 @@ See ["Artifacts"](./Artifacts.md) for more explanation of the different folders
369
369
Building installers does not run as part of `build.cmd` run without parameters, so you should opt-in for building them:
370
370
371
371
```powershell
372
-
.\build.cmd -all -pack -arch x64
373
-
.\build.cmd -all -pack -arch x86 -noBuildJava
374
-
.\build.cmd -buildInstallers
372
+
.\eng\build.cmd -all -pack -arch x64
373
+
.\eng\build.cmd -all -pack -arch x86 -noBuildJava
374
+
.\eng\build.cmd -buildInstallers
375
375
```
376
376
377
377
_Note_: Additional build steps listed above aren't necessary on Linux or macOS.
0 commit comments