Skip to content

Commit 1bc4b16

Browse files
committed
add msbuild docs
1 parent cccf23d commit 1bc4b16

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

docs/msbuild/errors/msb8088.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
title: "MSBuild diagnostic code MSB8088"
3+
description: "MSBuild diagnostic code MSB8088 occurs when the /dynamicdeopt and whole program optimization /GL are set."
4+
ms.date: 03/14/2025
5+
ms.topic: "error-reference"
6+
f1_keywords:
7+
- MSB8088
8+
dev_langs:
9+
- "C++"
10+
author: tylerMSFT
11+
ms.author: twhitney
12+
manager: coxford
13+
ms.subservice: msbuild
14+
---
15+
# MSBuild MSB8088 diagnostic code
16+
17+
> MSB8088: Dynamic debugging and whole program optimization are incompatible. Disabling whole program optimization.
18+
When you turn on [C++ Dynamic Debugging (Preview)](/visualstudio/debugger/cpp-dynamic-debugging), the build automatically turns off whole program optimization (compiler switch [`/GL`](/cpp/build/reference/gl-whole-program-optimization)). These two options are incompatible.
19+
20+
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)](/cpp/build/reference/general-property-page-project).
21+
22+
`MSB8088` is treated as a warning, but may be treated as an error in a future version of Visual Studio.

docs/msbuild/toc.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2022,7 +2022,7 @@ items:
20222022
href: errors/msb6011.md
20232023
- name: MSB6012
20242024
href: errors/msb6012.md
2025-
- name: MSB8000 - MSB8066
2025+
- name: MSB8000 - MSB8088
20262026
items:
20272027
- name: MSB8000
20282028
href: errors/msb8000.md
@@ -2104,6 +2104,8 @@ items:
21042104
href: errors/msb8061.md
21052105
- name: MSB8066
21062106
href: errors/msb8066.md
2107+
- name: MSB8088
2108+
href: errors/msb8088.md
21072109
- name: MSB9901 - MSB9904
21082110
items:
21092111
- name: MSB9901

0 commit comments

Comments
 (0)