Deprecate UseFastPDBLinking

This is no longer supported in VS2026
This commit is contained in:
2025-12-06 00:03:42 +02:00
parent d7eebb699c
commit 74bac97f44
2 changed files with 6 additions and 1 deletions

View File

@@ -951,10 +951,12 @@ namespace Flax.Build.Platforms
if (linkEnvironment.DebugInformation)
{
// Generate debug information
if (Toolset != WindowsPlatformToolset.v140 && linkEnvironment.UseFastPDBLinking)
#pragma warning disable CS0618 // X is obsolete
if (Toolset >= WindowsPlatformToolset.v141 && Toolset <= WindowsPlatformToolset.v144 && linkEnvironment.UseFastPDBLinking)
{
args.Add("/DEBUG:FASTLINK");
}
#pragma warning restore CS0618 // X is obsolete
else if (linkEnvironment.UseFullDebugInformation)
{
args.Add("/DEBUG:FULL");