aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2021-01-17 18:59:49 -0600
committerSean Hall <r.sean.hall@gmail.com>2021-01-17 18:59:49 -0600
commit62936dfa2da25f58423e6188745ae1307bb31a8f (patch)
tree7e9267e80b328f173b7d86246e5e7990390808ea /README.md
parentdc27031adc7f81a8bd177c890d354c79d3671f32 (diff)
downloadwix-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.md25
1 files changed, 24 insertions, 1 deletions
diff --git a/README.md b/README.md
index 431f7b9c..8cfb9437 100644
--- a/README.md
+++ b/README.md
@@ -22,4 +22,27 @@ For example, the following line runs only the specified test:
22The VM must have: 22The VM must have:
231. x64 .NET Core SDK of 5.0 or later (for the test runner) 231. x64 .NET Core SDK of 5.0 or later (for the test runner)
241. Any version of .NET Framework (for the .NET Framework TestBA) 241. Any version of .NET Framework (for the .NET Framework TestBA)
251. x86 .NET Core Desktop Runtime of 5.0 or later (for the .NET Core TestBA) \ No newline at end of file 251. x86 .NET Core Desktop Runtime of 5.0 or later (for the .NET Core TestBA)
26
27## Updating dependencies
28
29Use the `updatepackage.ps1` script from https://github.com/wixtoolset/Home.
30For 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
40The micro repo model makes this very difficult and painful.
41The 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.
42Put your custom nuget packages into a folder, and modify each repo's nuget.config with an entry to that folder.
43
44Alternatively, go into the NuGet package cache (%USERPROFILE%\.nuget\packages) and replace the official binaries with your locally built binaries.
45
46Both 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