App Crash - Try using VS2022 developer command prompt #17255

Open
opened 2026-01-31 05:36:55 +00:00 by claunia · 0 comments
Owner

Originally created by @mikedice on GitHub (Apr 16, 2022).

Windows Terminal version

1.12.10733.0

Windows build number

10.0.22000.613

Other Software

Visual studio 2022 64 bit edition

Steps to reproduce

I integrated the VS2022 dev command prompt by adding the settings blurb below

            {
                "backgroundImage": "C:\\Users\\mikedice\\OneDrive - Microsoft\\Pictures\\Dune Art\\78129.jpg",
                "backgroundImageOpacity": 0.29999999999999999,
                "commandline": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\Common7\\Tools\\VsDevCmd.bat",
                "font": 
                {
                    "size": 16
                },
                "foreground": "#16C60C",
                "guid": "{b3c68d96-cac9-4989-9f9c-ff61f248c02e}",
                "icon": "ms-appx:///ProfileIcons/{0caa0dad-35be-5f56-a8ff-afceeeaa6101}.png",
                "name": "IDK",
                "startingDirectory": "C:\\Users\\mikedice\\repos",
                "useAcrylic": false
            },

This is also the default profile

    "defaultProfile": "{b3c68d96-cac9-4989-9f9c-ff61f248c02e}",

Open Terminal
It shows the VS2022 command prompt intro banner for a couple of seconds
The Terminal App disappears. I assume the app crashed. I don't know where the logs are for this app.

If I change the defaultProfile to the GUID of one of my other configurations the app starts successfully. Now, though, if I try to start the "IDK" prompt that tab will disappear after showing the VS2022 command prompt intro banner briefly

Need to be able to use the VS2022 command prompt so I'll just use the old Windows console outside of terminal for now but, I won't be able to see my cool Dune background art :(

Expected Behavior

Can integrate VS 2022 command prompt into WIndows Terminal. I have been using the VS2019 command prompt in Windows Terminal for quite some time.

Actual Behavior

Cannot use VS2022 command prompt in WIndows Terminal. The terminal tab crashes.

Originally created by @mikedice on GitHub (Apr 16, 2022). ### Windows Terminal version 1.12.10733.0 ### Windows build number 10.0.22000.613 ### Other Software Visual studio 2022 64 bit edition ### Steps to reproduce I integrated the VS2022 dev command prompt by adding the settings blurb below ```json { "backgroundImage": "C:\\Users\\mikedice\\OneDrive - Microsoft\\Pictures\\Dune Art\\78129.jpg", "backgroundImageOpacity": 0.29999999999999999, "commandline": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\Common7\\Tools\\VsDevCmd.bat", "font": { "size": 16 }, "foreground": "#16C60C", "guid": "{b3c68d96-cac9-4989-9f9c-ff61f248c02e}", "icon": "ms-appx:///ProfileIcons/{0caa0dad-35be-5f56-a8ff-afceeeaa6101}.png", "name": "IDK", "startingDirectory": "C:\\Users\\mikedice\\repos", "useAcrylic": false }, ``` This is also the default profile ``` "defaultProfile": "{b3c68d96-cac9-4989-9f9c-ff61f248c02e}", ``` Open Terminal It shows the VS2022 command prompt intro banner for a couple of seconds The Terminal App disappears. I assume the app crashed. I don't know where the logs are for this app. If I change the defaultProfile to the GUID of one of my other configurations the app starts successfully. Now, though, if I try to start the "IDK" prompt that tab will disappear after showing the VS2022 command prompt intro banner briefly Need to be able to use the VS2022 command prompt so I'll just use the old Windows console outside of terminal for now but, I won't be able to see my cool Dune background art :( ### Expected Behavior Can integrate VS 2022 command prompt into WIndows Terminal. I have been using the VS2019 command prompt in Windows Terminal for quite some time. ### Actual Behavior Cannot use VS2022 command prompt in WIndows Terminal. The terminal tab crashes.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#17255