Skip to content

Add notices for non-release builds #1275

Add notices for non-release builds

Add notices for non-release builds #1275

Triggered via pull request November 5, 2024 13:27
Status Success
Total duration 4m 30s
Artifacts 3

build.yml

on: pull_request
Matrix: build-clients
Fit to window
Zoom out
Zoom in

Annotations

30 warnings
build-clients (Ares): DXMainClient/DXGUI/GameClass.cs#L13
The using directive for 'ClientGUI' appeared previously in this namespace
build-clients (Ares): DXMainClient/DXGUI/Generic/ManualUpdateQueryWindow.cs#L5
The using directive for 'ClientCore.Extensions' appeared previously in this namespace
build-clients (Ares): DXMainClient/DXGUI/Multiplayer/CnCNet/GlobalContextMenu.cs#L8
The using directive for 'ClientCore.Extensions' appeared previously in this namespace
build-clients (Ares): DXMainClient/DXGUI/Multiplayer/GameLobby/GameLobbyBase.cs#L765
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build-clients (Ares): DXMainClient/DXGUI/Multiplayer/GameLobby/GameLobbyBase.cs#L765
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build-clients (Ares): DXMainClient/Startup.cs#L65
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
build-clients (Ares): DXMainClient/Domain/Multiplayer/CnCNet/ExtendedWebClient.cs#L13
'WebClient.WebClient()' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
build-clients (Ares): DXMainClient/Domain/Multiplayer/CnCNet/MapSharer.cs#L216
'WebRequest.Create(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
build-clients (Ares): DXMainClient/DXGUI/Multiplayer/GameLobby/CnCNetGameLobby.cs#L60
Assignment made to same variable; did you mean to assign something else?
build-clients (Ares): DXMainClient/DXGUI/Multiplayer/CnCNet/CnCNetGameLoadingLobby.cs#L76
Field 'CnCNetGameLoadingLobby.gameModes' is never assigned to, and will always have its default value null
build-clients (YR): DXMainClient/DXGUI/GameClass.cs#L13
The using directive for 'ClientGUI' appeared previously in this namespace
build-clients (YR): DXMainClient/DXGUI/Generic/ManualUpdateQueryWindow.cs#L5
The using directive for 'ClientCore.Extensions' appeared previously in this namespace
build-clients (YR): DXMainClient/DXGUI/Multiplayer/CnCNet/GlobalContextMenu.cs#L8
The using directive for 'ClientCore.Extensions' appeared previously in this namespace
build-clients (YR): DXMainClient/DXGUI/Multiplayer/GameLobby/GameLobbyBase.cs#L765
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build-clients (YR): DXMainClient/DXGUI/Multiplayer/GameLobby/GameLobbyBase.cs#L765
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build-clients (YR): DXMainClient/Startup.cs#L65
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
build-clients (YR): DXMainClient/Domain/Multiplayer/CnCNet/MapSharer.cs#L216
'WebRequest.Create(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
build-clients (YR): DXMainClient/Domain/Multiplayer/CnCNet/ExtendedWebClient.cs#L13
'WebClient.WebClient()' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
build-clients (YR): DXMainClient/DXGUI/Multiplayer/GameLobby/CnCNetGameLobby.cs#L60
Assignment made to same variable; did you mean to assign something else?
build-clients (YR): DXMainClient/DXGUI/Generic/LoadingScreen.cs#L37
The field 'LoadingScreen.privateMessagingPanel' is never used
build-clients (TS): DXMainClient/DXGUI/GameClass.cs#L13
The using directive for 'ClientGUI' appeared previously in this namespace
build-clients (TS): DXMainClient/DXGUI/Generic/ManualUpdateQueryWindow.cs#L5
The using directive for 'ClientCore.Extensions' appeared previously in this namespace
build-clients (TS): DXMainClient/DXGUI/Multiplayer/CnCNet/GlobalContextMenu.cs#L8
The using directive for 'ClientCore.Extensions' appeared previously in this namespace
build-clients (TS): DXMainClient/DXGUI/Multiplayer/GameLobby/GameLobbyBase.cs#L765
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build-clients (TS): DXMainClient/DXGUI/Multiplayer/GameLobby/GameLobbyBase.cs#L765
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build-clients (TS): DXMainClient/Startup.cs#L65
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
build-clients (TS): DXMainClient/Domain/Multiplayer/CnCNet/MapSharer.cs#L216
'WebRequest.Create(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
build-clients (TS): DXMainClient/Domain/Multiplayer/CnCNet/ExtendedWebClient.cs#L13
'WebClient.WebClient()' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
build-clients (TS): DXMainClient/DXGUI/Multiplayer/GameLobby/CnCNetGameLobby.cs#L60
Assignment made to same variable; did you mean to assign something else?
build-clients (TS): DXMainClient/DXGUI/Multiplayer/CnCNet/CnCNetGameLoadingLobby.cs#L76
Field 'CnCNetGameLoadingLobby.gameModes' is never assigned to, and will always have its default value null

Artifacts

Produced during runtime
Name Size
artifacts-Ares
29.2 MB
artifacts-TS
29.3 MB
artifacts-YR
29.2 MB