Skip to content

Suppress code style warnings and use central package management #1005

Suppress code style warnings and use central package management

Suppress code style warnings and use central package management #1005

Triggered via pull request March 7, 2024 11:03
Status Success
Total duration 4m 5s
Artifacts 3

build.yml

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

Annotations

30 warnings
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#L752
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#L752
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build-clients (TS): DXMainClient/Startup.cs#L63
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/TunnelHandler.cs#L156
'WebClient.WebClient()' 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/CnCNetPlayerCountTask.cs#L53
'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/Domain/Multiplayer/CnCNet/MapSharer.cs#L209
'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/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#L752
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#L752
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build-clients (Ares): DXMainClient/Startup.cs#L63
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/DXGUI/Multiplayer/GameLobby/CnCNetGameLobby.cs#L60
Assignment made to same variable; did you mean to assign something else?
build-clients (Ares): DXMainClient/Domain/Multiplayer/CnCNet/TunnelHandler.cs#L156
'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#L209
'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/Domain/Multiplayer/CnCNet/MapSharer.cs#L450
'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/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#L752
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#L752
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build-clients (YR): DXMainClient/Startup.cs#L63
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/TunnelHandler.cs#L156
'WebClient.WebClient()' 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/MapSharer.cs#L209
'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/MapSharer.cs#L450
'WebClient.WebClient()' 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#L11
'WebClient.WebClient()' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' (https://aka.ms/dotnet-warnings/SYSLIB0014)

Artifacts

Produced during runtime
Name Size
artifacts-Ares Expired
23.7 MB
artifacts-TS Expired
23.7 MB
artifacts-YR Expired
23.7 MB