microsoft / microsoft/terminal
Freshly cloning repository seems to create invalid configurations mappings for OpenConsole.sln
- Dominant language
- C++
- Stars
- 105k
- Forks
- 9.6k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 29
Description
### Windows Terminal version
main branch
### Windows build number
10.0.22621.0
### Other Software
Microsoft Visual Studio Enterprise 2022
Version 17.4.0
VisualStudio.17.Release/17.4.0+33103.184
Microsoft .NET Framework
Version 4.8.09032
Installed Version: Enterprise
Visual C++ 2022 00476-80000-00000-AA320
Microsoft Visual C++ 2022
ASP.NET and Web Tools 17.4.326.54890
ASP.NET and Web Tools
Azure App Service Tools v3.0.0 17.4.326.54890
Azure App Service Tools v3.0.0
Azure Functions and Web Jobs Tools 17.4.326.54890
Azure Functions and Web Jobs Tools
C# Tools 4.4.0-3.22518.13+7856a68c109b22de70e07580018fec601e944f46
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Common Azure Tools 1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
GitHub Copilot 1.55.0.0 (v1.55.0.0@a9e44cd78)
GitHub Copilot is an AI pair programmer that helps you write code faster and with less work.
GitHub Copilot Agent 1.55.7117 (v1.55.0)
IndentRainbowPackage Extension 1.0
IndentRainbowPackage Visual Studio Extension Detailed Info
Microsoft Azure Tools for Visual Studio 2.9
Support for Azure Cloud Services projects
Microsoft JVM Debugger 1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines
NuGet Package Manager 6.4.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/
Razor (ASP.NET Core) 17.0.0.2246202+61cc048d36a3fc9246d2f04625988b19a18ab8f0
Provides languages services for ASP.NET Core Razor.
SQL Server Data Tools 17.0.62207.28050
Microsoft SQL Server Data Tools
Syntax Visualizer 1.0
An extension for visualizing Roslyn SyntaxTrees.
Test Adapter for Boost.Test 1.0
Enables Visual Studio's testing tools with unit tests written for Boost.Test. The use terms and Third Party Notices are available in the extension installation directory.
Test Adapter for Google Test 1.0
Enables Visual Studio's testing tools with unit tests written for Google Test. The use terms and Third Party Notices are available in the extension installation directory.
TypeScript Tools 17.0.10921.2001
TypeScript Tools for Microsoft Visual Studio
Visual Basic Tools 4.4.0-3.22518.13+7856a68c109b22de70e07580018fec601e944f46
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Visual F# Tools 17.4.0-beta.22512.4+525d5109e389341bb90b144c24e2ad1ceec91e7b
Microsoft Visual F# Tools
Visual Studio Inline Suggestions 2.2.2268.4192
Ghost text API for Visual Studio inline suggestions
Visual Studio IntelliCode 2.2
AI-assisted development for Visual Studio.
### Steps to reproduce
1. Clone the repository, for example using GitHub CLI: `gh repo clone microsoft/terminal`
1. Open the folder in Powershell
1. Run the steps to setup code formatting:
```
Import-Module .\tools\OpenConsole.psm1
Set-MsBuildDevEnvironment
Get-Format
```
4. Type `./OpenConsole.sln` to open the solution in visual studio
1. Get a warning at the top of visual studio:

### Expected Behavior
The configuration mappings should be correct.
Selecting the cascadia package and trying to run it should work instead of showing the following error:

### Actual Behavior
There should be no configuration mapping warnings. Ideally, the "Any CPU" architecture should not be the default.
Contributor guide
Research direction
Start with tools/OpenConsole.psm1 and the Get-Format and Set-MsBuildDevEnvironment steps, then inspect the generated OpenConsole.sln configuration mappings. Reproduce the warning in Visual Studio after a fresh clone and verify the Cascadia package deployment path. Done means the solution opens without mapping warnings and Any CPU is not the default architecture.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, powershell
- Domain
- build-system, developer-experience
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100