diff options
| author | Bob Arnson <bob@firegiant.com> | 2020-03-18 21:45:53 -0400 |
|---|---|---|
| committer | Bob Arnson <bob@firegiant.com> | 2020-03-18 21:50:00 -0400 |
| commit | c5df86a7caaa1cbff9adde6396925383ba9a2e4e (patch) | |
| tree | a082d0a8eaa759a3ba78cfedb0d89a1ebfac8a8e /src/WixToolset.Core/VariableResolver.cs | |
| parent | f1ddeb81aa8c709582fc11a5711b39da596f4f22 (diff) | |
| download | wix-c5df86a7caaa1cbff9adde6396925383ba9a2e4e.tar.gz wix-c5df86a7caaa1cbff9adde6396925383ba9a2e4e.tar.bz2 wix-c5df86a7caaa1cbff9adde6396925383ba9a2e4e.zip | |
Allow unresolved variables during resolution.
Diffstat (limited to 'src/WixToolset.Core/VariableResolver.cs')
| -rw-r--r-- | src/WixToolset.Core/VariableResolver.cs | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/WixToolset.Core/VariableResolver.cs b/src/WixToolset.Core/VariableResolver.cs index b1a5defc..8cddfaa5 100644 --- a/src/WixToolset.Core/VariableResolver.cs +++ b/src/WixToolset.Core/VariableResolver.cs | |||
| @@ -77,14 +77,7 @@ namespace WixToolset.Core | |||
| 77 | return this.localizedControls.TryGetValue(key, out localizedControl); | 77 | return this.localizedControls.TryGetValue(key, out localizedControl); |
| 78 | } | 78 | } |
| 79 | 79 | ||
| 80 | /// <summary> | 80 | public IVariableResolution ResolveVariables(SourceLineNumber sourceLineNumbers, string value, bool errorOnUnknown) |
| 81 | /// Resolve the wix variables in a value. | ||
| 82 | /// </summary> | ||
| 83 | /// <param name="sourceLineNumbers">The source line information for the value.</param> | ||
| 84 | /// <param name="value">The value to resolve.</param> | ||
| 85 | /// <param name="errorOnUnknown">true if unknown variables should throw errors.</param> | ||
| 86 | /// <returns>The resolved value.</returns> | ||
| 87 | internal IVariableResolution ResolveVariables(SourceLineNumber sourceLineNumbers, string value, bool errorOnUnknown) | ||
| 88 | { | 81 | { |
| 89 | var matches = Common.WixVariableRegex.Matches(value); | 82 | var matches = Common.WixVariableRegex.Matches(value); |
| 90 | 83 | ||
