diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2021-01-17 18:59:49 -0600 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2021-01-17 18:59:49 -0600 |
commit | 62936dfa2da25f58423e6188745ae1307bb31a8f (patch) | |
tree | 7e9267e80b328f173b7d86246e5e7990390808ea /README.md | |
parent | dc27031adc7f81a8bd177c890d354c79d3671f32 (diff) | |
download | wix-62936dfa2da25f58423e6188745ae1307bb31a8f.tar.gz wix-62936dfa2da25f58423e6188745ae1307bb31a8f.tar.bz2 wix-62936dfa2da25f58423e6188745ae1307bb31a8f.zip |
Document how to update dependencies and use local changes.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 25 |
1 files changed, 24 insertions, 1 deletions
@@ -22,4 +22,27 @@ For example, the following line runs only the specified test: | |||
22 | The VM must have: | 22 | The VM must have: |
23 | 1. x64 .NET Core SDK of 5.0 or later (for the test runner) | 23 | 1. x64 .NET Core SDK of 5.0 or later (for the test runner) |
24 | 1. Any version of .NET Framework (for the .NET Framework TestBA) | 24 | 1. Any version of .NET Framework (for the .NET Framework TestBA) |
25 | 1. x86 .NET Core Desktop Runtime of 5.0 or later (for the .NET Core TestBA) \ No newline at end of file | 25 | 1. x86 .NET Core Desktop Runtime of 5.0 or later (for the .NET Core TestBA) |
26 | |||
27 | ## Updating dependencies | ||
28 | |||
29 | Use the `updatepackage.ps1` script from https://github.com/wixtoolset/Home. | ||
30 | For example: | ||
31 | |||
32 | * updatepackage.ps1 -TargetFolder path\to\repo -PackageName WixToolset.Bal.wixext -NewVersion 4.0.80 | ||
33 | * updatepackage.ps1 -TargetFolder path\to\repo -PackageName WixToolset.Mba.Core -NewVersion 4.0.45 | ||
34 | * updatepackage.ps1 -TargetFolder path\to\repo -PackageName WixToolset.NetFx.wixext -NewVersion 4.0.57 | ||
35 | * updatepackage.ps1 -TargetFolder path\to\repo -PackageName WixToolset.Util.wixext -NewVersion 4.0.67 | ||
36 | * updatepackage.ps1 -TargetFolder path\to\repo -PackageName WixToolset.Sdk -NewVersion 4.0.0-build-0176 | ||
37 | |||
38 | ## Building with local changes | ||
39 | |||
40 | The micro repo model makes this very difficult and painful. | ||
41 | The basic idea is to make your changes in each individual repo on the master branch (to get a stable version), commit, and then use appveyor.cmd to build the nuget package. | ||
42 | Put your custom nuget packages into a folder, and modify each repo's nuget.config with an entry to that folder. | ||
43 | |||
44 | Alternatively, go into the NuGet package cache (%USERPROFILE%\.nuget\packages) and replace the official binaries with your locally built binaries. | ||
45 | |||
46 | Both of those approaches will poison your NuGet package cache, so you probably will want to run the following command to clear it when you're done: | ||
47 | |||
48 | > nuget locals all -clear \ No newline at end of file | ||