Skip to content

CLI changes required to at least build for VS2022 #246

CLI changes required to at least build for VS2022

CLI changes required to at least build for VS2022 #246

Triggered via pull request March 14, 2024 10:11
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/Settings.cs#L33
Dereference of a possibly null reference.
build: Meadow.CLI.Core/Settings.cs#L46
Possible null reference return.
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/Connections/TcpConnection.cs#L57
Dereference of a possibly null reference.
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/SerialConnection.ListenerProc.cs#L262
Possible null reference argument for parameter 'e' in 'void EventHandler<string>.Invoke(object sender, string e)'.
build: Source/v2/Meadow.Cloud.Client/Messages/PackageInfo.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.Cloud.Client/Messages/PackageInfo.cs#L9
Non-nullable property 'OsVersion' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: Source/v2/Meadow.Cloud.Client/Messages/User.cs#L5
Non-nullable property 'Id' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.