Skip to content

CLI changes required to at least build for VS2022 #209

CLI changes required to at least build for VS2022

CLI changes required to at least build for VS2022 #209

Triggered via pull request March 4, 2024 11:46
Status Success
Total duration 3m 31s
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/TcpConnection.cs#L60
Dereference of a possibly null reference.
build: Source/v2/Meadow.HCom/Firmware/ReleaseMetadata.cs#L8
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#L10
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#L12
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#L14
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#L263
Possible null reference argument for parameter 'e' in 'void EventHandler<string>.Invoke(object sender, string e)'.
build: Source/v2/Meadow.Cloud.Client/Messages/UserOrg.cs#L6
Non-nullable property 'Id' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: Source/v2/Meadow.Cloud.Client/Messages/UserOrg.cs#L8
Non-nullable property 'Name' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: Source/v2/Meadow.Cloud.Client/Messages/UserOrg.cs#L10
Non-nullable property 'DefaultCollectionId' 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.