Skip to content

Commit a412b84

Browse files
authored
Add ConvertTo/FromBase64 property functions
This is a follow up after dotnet/msbuild#7554
1 parent a799c86 commit a412b84

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/msbuild/property-functions.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,9 @@ Here is a list of MSBuild property functions:
174174
|string GetPathOfFileAbove(string file, string startingDirectory)|Searches for and returns the full path to a file in the directory structure above the current build file's location, or based on `startingDirectory`, if specified.|
175175
|GetDirectoryNameOfFileAbove(string startingDirectory, string fileName)|Locate and return the directory of a file in either the directory specified or a location in the directory structure above that directory.|
176176
|string MakeRelative(string basePath, string path)|Makes `path` relative to `basePath`. `basePath` must be an absolute directory. If `path` cannot be made relative, it is returned verbatim. Similar to `Uri.MakeRelativeUri`.|
177-
|string ValueOrDefault(string conditionValue, string defaultValue)|Return the string in parameter 'defaultValue' only if parameter 'conditionValue' is empty, else, return the value conditionValue.|
177+
|string ValueOrDefault(string conditionValue, string defaultValue)|Returns the string in parameter 'defaultValue' only if parameter 'conditionValue' is empty, else, return the value conditionValue.|
178+
|string ConvertToBase64(string toEncode)|Returns the string after converting all bytes to base 64 (alphanumeric characters plus '+' and '/'), ending in one or two '='.|
179+
|string ConvertFromBase64(string toDecode)|Returns the string after converting from base 64 (alphanumeric characters plus '+' and '/'), ending in one or two '='.|
178180

179181
## Nested property functions
180182

0 commit comments

Comments
 (0)