A GUI client for Windows and Linux, support Xray core and v2fly core and others
Find a file
Miheichev Aleksandr Sergeevich 7f3b378311 chore: remove NoWarn and fix .NET 10 build warnings
Removes the repository-level NoWarn suppression from Directory.Build.props and addresses the warnings that surface on top of the .NET 10 migration in #9179, keeping Debug, Release, and cross-platform publishes warning-free without suppressing warnings globally.

Changes:

- Removes <NoWarn>CA1031;CS1591;NU1507;CA1416;IDE0058;IDE0053;IDE0200</NoWarn> from Directory.Build.props.

- Annotates Windows-only APIs with [SupportedOSPlatform] and [SupportedOSPlatformGuard] so CA1416 accepts that the Windows surface is gated behind Utils.IsWindows() / Utils.IsNonWindows().

- Splits Utils.SetUnixFileMode into a cross-platform wrapper and a private [UnsupportedOSPlatform("windows")] implementation so File.SetUnixFileMode never reaches the analyzer on Windows builds.

- Adds a parameterless constructor to MessageBoxDialog so Avalonia's runtime XAML loader (AVLN3001) can instantiate the dialog.

- Moves the WPF high-DPI configuration from app.manifest to <ApplicationHighDpiMode>PerMonitorV2</ApplicationHighDpiMode> in v2rayN.csproj, fixing WFO0003.

- Adds global using System.Runtime.Versioning; to ServiceLib and v2rayN.Desktop so the platform attributes are usable project-wide.
2026-05-13 15:25:29 +03:00
.github Bump actions/checkout from 5 to 6 (#9288) 2026-05-13 09:08:58 +08:00
v2rayN chore: remove NoWarn and fix .NET 10 build warnings 2026-05-13 15:25:29 +03:00
.editorconfig Update .editorconfig 2025-01-31 15:59:44 +08:00
.gitattributes Remove extra .gitignore file and move .gitattributes to the root folder for consistent storage of .git-related files. (#6545) 2025-01-20 09:28:30 +08:00
.gitignore i18n(ru/zh-Hans/zh-Hant/hu/fa): translate TUN settings, unify MTU, use resx (#7787) 2025-08-18 17:28:59 +08:00
.gitmodules Use project to implement Windows global hotkey 2025-02-27 20:12:07 +08:00
LICENSE Update LICENSE (#7327) 2025-05-28 20:04:12 +08:00
package-debian-riscv.sh Update .NET 10 (#9239) 2026-05-11 17:56:35 +08:00
package-debian.sh Update .NET 10 (#9239) 2026-05-11 17:56:35 +08:00
package-osx.sh Update package-osx.sh (#8303) 2025-11-11 19:31:06 +08:00
package-rhel-riscv.sh Update .NET 10 (#9239) 2026-05-11 17:56:35 +08:00
package-rhel.sh Update .NET 10 (#9239) 2026-05-11 17:56:35 +08:00
README.md docs: improve README.md formatting and readability (#7376) 2025-06-02 09:52:49 +08:00

v2rayN

A GUI client for Windows, Linux and macOS, support Xray and sing-box and others

GitHub commit activity CodeFactor GitHub Releases Chat on Telegram

How to use

Read the Wiki for details.

Telegram Channel

github_2dust