Guide for build and installation
Tools needed
- VS2017 or higher with the following packages ("Workloads" tab in Visual Studio Installer) :
1.1
Desktop Development with C++. 1.2Universal Windows Platform Development. 1.3Windows 10 SDK (10.0.18362.0). 1.4 If you're running VS2019, you'll also need to install eitherv141 Toolsetorv142 Toolset. - Git command-line tool.
- Nuget.exe (Needed in build step 3, can be found in
Terminal/dep/nuget).
Build Steps
git clonethis repository, not download .zip file.- Run
git submodule update --init --recursivein Terminal folder. - Run
nuget restore OpenConsole.sln(This step can be skipped, then Visual Studio should warn you that there are packages to restore - then restore). - Open
OpenConsole.slnwith Visual Studio. - Build whole solution(F7) with your platform(
x86/x64) andreleasemode, you may need to fix some build errors: 5.1 C2220 and code page warnings: All errors and warnings are encoding error of unicode characters, a helpful workaround is to modify corresponding file encoding toUTF-8 BOM(Notepad++ is recommended). 5.2 Errors insrc/tools/vtpipeterm/main.cpp: In addtion, you should also addu8prefix before string literals with unicode characters, e.g. line395,398,401and404.
Workaround
Try build with PR 458 or PR 549, both of them can build successfully.
Installation
Unfortunately, the generated .appx doesn't have any certificates, so it cannot be installed via double-click or powershell, the only way to install is to deploy the solution in VS.
- Open
Windows Settings-Upgrade & Security-For Developers, switchApp sourcestoDeveloper mode. - Right click on
CascadiaPackageproject (underSolution/Terminal), selectDeploy Solutionto install, then you'll findWindows Terminal (Preview)in start menu.
Settings
After open the terminal, you can't see any menu buttons.
Just press Ctrl + T to open a new tab, and you'll see a drop-down button in the tab bar.
Click it and select Settings, then you can modify the configuration via opened profiles.json.
Add WSL
- Create a new session in
profiles, with content copied fromprofiles/cmd. - Give it a new
guid. - Give it a new
name, such asWSL. - Specify its
commandlinetowsl.exe.
Then you'll find WSL in the drop-down menu of tab bar.
Here're sample codes:
{
"guid": "{09dc5eef-6840-4050-ae69-21e55e6a2e62}",
"name": "WSL",
"colorscheme": "Campbell",
"historySize": 9001,
"snapOnInput": true,
"cursorColor": "#FFFFFF",
"cursorShape": "bar",
"commandline": "wsl.exe",
"fontFace": "Consolas",
"fontSize": 12,
"acrylicOpacity": 0.75,
"useAcrylic": true,
"closeOnExit": false,
"padding": "0, 0, 0, 0"
}
Thank you.
thanks!
Thanks a bunch!
This information should be included in the Building the Code section of the README file.
Windows 1903 is required to deploy Windows Terminal https://github.com/microsoft/Terminal/issues/437#issuecomment-489899822
Can I build it with VS 2019?
Can I build it with VS 2019?
I've been trying for a few hours with no success. I have given up and am currently installing VS 2017
Same as you
Can I build it with VS 2019?
I'm afraid you can't, I have got 23 FAILED to build with VS2019...
Thanks! I am installing VS2017, can't wait to try the new Terminal out!
hello. can I download the binary file of you build ? I don`t want to build it . no environment . 😆
Can I build it with VS 2019?
I've been trying for a few hours with no success. I have given up and am currently installing VS 2017
Me, neither. Better try on VS2017 directly. \cry
There is a pull request for a branch that fixes the VS 2019 errors: https://github.com/microsoft/Terminal/pull/449
Can I build it with VS 2019?
Yes, with hours of patience, and fixing many bugs.
There is a pull request for a branch that fixes the VS 2019 errors: #449
That single line of code worked for me in VS2019. I'm now installing insider build to get to 1903 or above.
what dos the 'solution' mean exactly in step5, i'm new here
So, still, you need an insider build, right?
what dos the 'solution' mean exactly in step5, i'm new here
The solution (top one) in the Solution Explorer.
what dos the 'solution' mean exactly in step5, i'm new here

I successfully built it, but wanted to ask, are all the features shown in the video implemented? I can only see the new UWP based console