Skip to content

CLI changes required to at least build for VS2022 #239

CLI changes required to at least build for VS2022

CLI changes required to at least build for VS2022 #239

Triggered via pull request March 9, 2024 13:43
Status Success
Total duration 4m 5s
Artifacts

dotnet-ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

20 warnings
build: Meadow.CLI.Core/Firmware/FirmwareInfo.cs#L41
Nullability of type of parameter 'obj' doesn't match overridden member (possibly because of nullability attributes).
build: Meadow.CLI.Core/Devices/MeadowLocalDevice.cs#L18
Nullability of reference types in return type of 'ILogger? MeadowLocalDevice.Logger.get' doesn't match implicitly implemented member 'ILogger IMeadowDevice.Logger.get' (possibly because of nullability attributes).
build: Meadow.CLI.Core/Devices/MeadowLocalDevice.FileManager.cs#L291
Nullability of reference types in type of parameter 'fileName' of 'Task MeadowLocalDevice.WriteFileToEspFlash(string fileName, uint partition = 0, string? mcuDestAddress = null, CancellationToken cancellationToken = default(CancellationToken))' doesn't match implicitly implemented member 'Task IMeadowDevice.WriteFileToEspFlash(string? fileName, uint partition = 0, string? mcuDestAddress = null, CancellationToken cancellationToken = default(CancellationToken))' (possibly because of nullability attributes).
build: Meadow.CLI.Core/Devices/MeadowLocalDevice.cs#L40
Nullability of reference types in return type of 'Task<MeadowDeviceInfo?> MeadowLocalDevice.GetDeviceInfo(TimeSpan timeout, CancellationToken cancellationToken = default(CancellationToken))' doesn't match implicitly implemented member 'Task<MeadowDeviceInfo> IMeadowDevice.GetDeviceInfo(TimeSpan timeout, CancellationToken cancellationToken = default(CancellationToken))'.
build: Meadow.CLI.Core/PackageInfo.cs#L8
Non-nullable property 'Version' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: Meadow.CLI.Core/PackageInfo.cs#L10
Non-nullable property 'OsVersion' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: Meadow.CLI.Core/ReleaseMetadata.cs#L11
Non-nullable property 'Version' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: Meadow.CLI.Core/ReleaseMetadata.cs#L13
Non-nullable property 'MinCLIVersion' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: Meadow.CLI.Core/ReleaseMetadata.cs#L15
Non-nullable property 'DownloadURL' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: Meadow.CLI.Core/ReleaseMetadata.cs#L17
Non-nullable property 'NetworkDownloadURL' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: Source/v2/Meadow.HCom/Connections/ConnectionBase.cs#L50
Non-nullable event 'DebuggerMessageReceived' must contain a non-null value when exiting constructor. Consider declaring the event as nullable.
build: Source/v2/Meadow.HCom/Firmware/ReleaseMetadata.cs#L6
Non-nullable property 'Version' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: Source/v2/Meadow.HCom/Firmware/ReleaseMetadata.cs#L8
Non-nullable property 'MinCLIVersion' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: Source/v2/Meadow.HCom/Firmware/ReleaseMetadata.cs#L10
Non-nullable property 'DownloadURL' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: Source/v2/Meadow.HCom/Firmware/ReleaseMetadata.cs#L12
Non-nullable property 'NetworkDownloadURL' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: Source/v2/Meadow.HCom/Connections/TcpConnection.cs#L57
Dereference of a possibly null reference.
build: Source/v2/Meadow.HCom/Connections/SerialConnection.ListenerProc.cs#L262
Possible null reference argument for parameter 'e' in 'void EventHandler<string>.Invoke(object sender, string e)'.
build: Source/v2/Meadow.Dfu/DfuSharp.cs#L202
Field 'ConfigDescriptor.bDescriptorType' is never assigned to, and will always have its default value 0
build: Source/v2/Meadow.Dfu/DfuSharp.cs#L209
Field 'ConfigDescriptor.interfaces' is never assigned to, and will always have its default value
build: Source/v2/Meadow.Dfu/DfuSharp.cs#L208
Field 'ConfigDescriptor.MaxPower' is never assigned to, and will always have its default value 0