| title | ms.date | ms.prod | ms.technology | ms.topic | f1_keywords | dev_langs | ms.assetid | author | ms.author | manager | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Expected constant | Microsoft Docs |
01/18/2017 |
visual-studio-windows |
vs-javascript |
error-reference |
|
|
8da7485f-7050-4559-97c3-ccfa782cdff3 |
mikejo5000 |
mikejo |
ghogen |
You attempted to use a (non-conditional compilation) variable in a conditional compilation test statement. Conditional compilation test statements must evaluate to a constant.
-
Replace the variable with a literal.
-
Replace the variable with a conditional compilation variable.