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
LT-22432: Update CD workflows to use build.ps1 (#705)
* Pass MSBuild arguments through to installer builds
* Add -BuildPatch option for building patch installers
* Remove WriteNonLocalDevelopmentPropertiesFile;
this has long been unnecessary.
* Check for .NET 4.8 before building CD workflows
* Check for logs in the root directory
* Add WiX to the PATH at the beginning of build.ps1
* Revert a change to CustomComponents.wxi
Also
* Force all Installer builds to be Release builds
* Pass logging variables to installer builds
* Remove unused Target BuildInstallerWix3
* Organize ReadMe and fix a dead link
* Fix whitespace in Setup-Developer-Machine.ps1
* Clarify Setup-Developer-Machine.ps1
* change Base build offset to 1000:
1000 makes easier mental math than 1100, and we've
burned 100 build numbers since our last release,
so now is the time to reduce it.
FUTURE WORK (see LT-22446:)
* Prevent log file collisions from -LogPath and /bl
* Prevent redundant builds
Copy file name to clipboardExpand all lines: ReadMe.md
+22-24Lines changed: 22 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,14 +13,30 @@ New to FieldWorks development? Start here:
13
13
14
14
For first-time setup on a Windows development machine:
15
15
16
+
- Install required software:
17
+
- Visual Studio 2022 with .NET desktop and C++ desktop workloads
18
+
- Git for Windows
19
+
- Run the setup script:
16
20
```powershell
17
21
# Run as Administrator (or User for user-level PATH)
18
22
.\Setup-Developer-Machine.ps1
19
23
```
20
24
21
-
This configures a dev machine for builds and tests (verifies prerequisites and configures PATH). Prerequisites:
22
-
- Visual Studio 2022 with .NET desktop and C++ desktop workloads
23
-
- Git for Windows
25
+
This configures a dev machine for builds and tests (verifies prerequisites and configures PATH).
26
+
27
+
## Building FieldWorks
28
+
29
+
FieldWorks uses the **MSBuild Traversal SDK** for declarative, dependency-ordered builds:
30
+
31
+
**Windows (PowerShell):**
32
+
```powershell
33
+
.\build.ps1 # Debug build
34
+
.\build.ps1 -Configuration Release
35
+
```
36
+
37
+
For detailed build instructions, see [.github/instructions/build.instructions.md](.github/instructions/build.instructions.md).
38
+
39
+
## Building Installers (WiX 3 default, WiX 6 opt-in)
24
40
25
41
Installer builds default to **WiX 3** (legacy batch pipeline) using inputs in `FLExInstaller/` and `PatchableInstaller/`. The **Visual Studio WiX Toolset v3 extension** is required so `Wix.CA.targets` is available under the MSBuild extensions path. Use `-InstallerToolset Wix6` to opt into the WiX 6 SDK-style path (restored via NuGet).
26
42
@@ -37,35 +53,17 @@ Required:
37
53
- Add the toolset root to `PATH` (or rerun `Setup-Developer-Machine.ps1` to do it for you).
38
54
- Install the **Visual Studio WiX Toolset v3 extension** so `Wix.CA.targets` is available to MSBuild.
39
55
40
-
## Building FieldWorks
41
-
42
-
FieldWorks uses the **MSBuild Traversal SDK** for declarative, dependency-ordered builds:
43
-
44
-
**Windows (PowerShell):**
45
-
```powershell
46
-
.\build.ps1 # Debug build
47
-
.\build.ps1 -Configuration Release
48
-
```
49
-
50
-
For detailed build instructions, see [.github/instructions/build.instructions.md](.github/instructions/build.instructions.md).
51
-
52
-
## Building Installers (WiX 3 default, WiX 6 opt-in)
56
+
### Running installer builds
53
57
54
58
Installer builds include the additional utilities (UnicodeCharEditor, LCMBrowser, MigrateSqlDbs, etc.).
0 commit comments