*Undefined* for $(DevEnvDir)

Dimitrij Gorodeckij's Avatar

Dimitrij Gorodeckij

04 Mar, 2023 07:36 PM

Hello not sure if that bug or just missconfiguration but in VS2022 usualy $(DevEnvDir) pointing to C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\ however on build I am getting error:
error MSB3073: IF NOT "*Undefined*" == ""...
(my pre-build event check it: IF NOT "$(DevEnvDir)" != ""...
I try to set it in init screep for envoremen but no luck :( any suggestion?

  1. 1 Posted by Dimitrij Gorode... on 04 Mar, 2023 07:38 PM

    Dimitrij Gorodeckij's Avatar

    == i put != to get exact pat only

  2. 2 Posted by Dimitrij Gorode... on 04 Mar, 2023 07:48 PM

    Dimitrij Gorodeckij's Avatar

    well i manage to set it as env variable as advised from https://help.appveyor.com/discussions/problems/33368-appveoyr-undefined-variable
    but still interested is it not default set by visualstudio?

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac