Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 1.15 KB

File metadata and controls

23 lines (19 loc) · 1.15 KB
title MSBuild diagnostic code MSB8088
description MSBuild diagnostic code MSB8088 occurs when the /dynamicdeopt and whole program optimization /GL are set.
ms.date 03/14/2025
ms.topic error-reference
f1_keywords
MSB8088
dev_langs
C++
author tylerMSFT
ms.author twhitney
ms.manager coxford
ms.subservice msbuild

MSBuild MSB8088 diagnostic code

MSB8088: Dynamic debugging and whole program optimization are incompatible. Disabling whole program optimization.

When you turn on C++ Dynamic Debugging (Preview), the build automatically turns off whole program optimization (compiler switch /GL). These two options are incompatible.

To resolve this issue, turn off whole program optimization in the project properties by setting Configuration Properties > Advanced > Whole Program Optimization to Off. For more information, see General Property Page (Project).

MSB8088 is treated as a warning, but may be treated as an error in a future version of Visual Studio.