cake-build/cake
GitHub で見るError: Error getting value from 'CurrentUser' on 'Cake.Core.IO.WindowsRegistry'.
Open
#3,829 opened on 2022年2月28日
BugHelp wantedUp-for-grabs
説明
Prerequisites
- I have written a descriptive issue title
- I have searched issues to ensure it has not already been reported
Cake runner
Cake Frosting
Cake version
2.1.0.0
Operating system
Linux
Operating system architecture
N/A
CI Server
No response
What are you seeing?
I am logging the Build Context in the Setup, it works on the Windows and fails on the Ubuntu.
context.Information(context.ToJson(Formatting.Indented))
What is expected?
Please find the expected Output from Windows, I should get similar in Ubuntu
----------------------------------------
Setup
----------------------------------------
Cake Context Start
{
"SharedSettings": {},
"FileSystem": {},
"Environment": {
"WorkingDirectory": "D:/Repos/FleetHub/Build/cake-frosting/CakeBuild/bin/Debug/net5.0",
"ApplicationRoot": "D:/Repos/FleetHub/Build/cake-frosting/CakeBuild/bin/Debug/net5.0",
"Platform": {
"Family": "windows",
"Is64Bit": true
},
"Runtime": {
"BuiltFramework": {
"Identifier": ".NETCoreApp",
"Version": "5.0",
"Profile": "",
"FullName": ".NETCoreApp,Version=v5.0"
},
"Runtime": "coreClr",
"CakeVersion": "2.1.0.0",
"IsCoreClr": true
}
},
"Globber": {},
"Log": {
"Verbosity": "normal"
},
"Arguments": {},
"ProcessRunner": {},
"Registry": {
"CurrentUser": {},
"LocalMachine": {},
"ClassesRoot": {},
"Users": {},
"PerformanceData": {},
"CurrentConfig": {}
},
"Tools": {},
"Data": {},
"Configuration": {}
}
Steps to Reproduce
Log the Build Context in the Setup
context.Information(context.ToJson(Formatting.Indented))
Output log
No response