-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Guide for build and installation #489
Comments
Thank you. |
thanks! |
Thanks a bunch! |
This information should be included in the |
Windows 1903 is required to deploy Windows Terminal |
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 |
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 . 😆 |
Me, neither. Better try on VS2017 directly. \cry |
There is a pull request for a branch that fixes the VS 2019 errors: #449 |
Yes, with hours of patience, and fixing many bugs. |
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? |
The solution (top one) in the Solution Explorer. |
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 |
To compile, you also need to install the "Universal Windows Platform Tools" (not installed by default). For me, TerminalCore and Unittests_TerminalCode can't be loaded, I don't know why. The file common.build.pre.props can't be loaded... |
This should be in the readme.md-file, maybe you should open a PR for this @ZgblKylin ? :) |
========== Build: 0 succeeded, 45 failed, 2 up-to-date, 0 skipped ========== |
Is there a way to do that from command prompt? /t:Deploy doesn't do anything on the solution. |
hope you have succeed, I am doing this now (I have spend half a day on VS2019 ) |
To peoples who really want to try out but failed to build: |
When I used Git bash,I was told |
In my understanding, there's no directly difference for your self use. Debug mode can contain some symbols and be a little bigger, when Release mode can be smaller since the deploy can run some improvements/optimization tasks. But I really don't think that is something really different in that alpha stage. |
Hi, everybody! After some difficulties and a few attempts I was able to build and deploy the project locally. This was the result: an empty window. After a few seconds, it simply disappeared and then... I read some comments (like this one #489 (comment)) and tried to delete any Any other ideas? Here are some useful (hopefully) information about my current system:
🚀 I recently opened the Issue #1364 related to this problem. If you're experiencing the same behaviour, you can find here some other detailed information about it. |
You're automatic subscribed if you comment or subscribe to issue. But remember that every time that you comment on a issue, you'll be auto subscribed again. |
|
This didn't work for me. Still loading blank screen |
I had it running. I am also now unable to launch the terminal after changing the font and scheme now and it fails to launch every time. We are far from stable it seems. :( |
Of course it still takes time, but you are welcome to contribute 😉 If you are unable to open after you made changes in the settings, you probably corrupted your profiles.json. Go to "%LOCALAPPDATA%\packages\WindowsTerminalDev_8wekyb3d8bbwe\RoamingState" and delete your profiles.json to regenerate a new one with default settings. |
@adeloyedeji if you are seeing a blank screen, make sure you are targeting the right architecture. you cannot run windows terminal x86 on an x64 machine. |
Yup, |
@ihdavids The "WSL Background Host" processes are kept around for some time to support WSL background scenarios. This is not exactly a Terminal issue. |
I get the same errors. Can anyone help |
It seems that we can get a preview build in mid-June. Is this still on track for a pre-release? |
And I still get a blank screen? |
Hey can I install it on Windows 7 ?? |
@tahasamar You can not. Windows 7 is not a supported platform. You need Windows 10. |
Many of our build and installation issues have been resolved since we moved to Visual Studio 2019 and the newest SDK. This bug is a great archive of our old build problems, but I'm going to close it because I think it's served its purpose. Thanks everyone for the reports! |
I can no longer open the program. I have been running builds since a couple days after the source was released. I tried uninstalling and deleting the profile.json files, and the entire folder for the dev version. I also uninstalled the released version (from the store). I am on 18963.1000 insider preview build. I've tried updating source and rebuilding multiple times. The program crashes with this information in the event viewer. Fault bucket 1289599514809151433, type 5 Problem signature: Attached files: These files may be available here: Analysis symbol: I have also tried deleting my source directory and running through the steps to grab it from GIT and init the submodules. |
Can / will it be ported to windows 7? Or should we stick with ConEmu/CMDer? |
@justingoldberg Terminal depend on new Windows 10 API |
@justingoldberg Use fluent terminal, since it supports pretty much all the MS terminal's functionality (i.e. supports Bash, PowerShell, WSL, cmder and any other ConEMU stuff all at the same time). You won't get WSL though because that's a Win10 feature, but connecting cygwin, docker, ubuntu VM, remote ssh terminals shouldn't be a problem. A the current state, it looks prettier than MS terminal and is based on the same "xterm.js" framework. |
Tools needed
1.1
Desktop Development with C++
.1.2
Universal Windows Platform Development
.1.3
Windows 10 SDK (10.0.18362.0)
.1.4 If you're running VS2019, you'll also need to install either
v141 Toolset
orv142 Toolset
.Terminal/dep/nuget
).Build Steps
git clone
this repository, not download .zip file.git submodule update --init --recursive
in Terminal folder.nuget restore OpenConsole.sln
(This step can be skipped, then Visual Studio should warn you that there are packages to restore - then restore).OpenConsole.sln
with Visual Studio.x86
/x64
) andrelease
mode, 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 to
UTF-8 BOM
(Notepad++ is recommended).5.2 Errors in
src/tools/vtpipeterm/main.cpp
: In addtion, you should also addu8
prefix before string literals with unicode characters, e.g. line395
,398
,401
and404
.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.
Windows Settings
-Upgrade & Security
-For Developers
, switchApp sources
toDeveloper mode
.CascadiaPackage
project (underSolution/Terminal
), selectDeploy Solution
to 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 openedprofiles.json
.Add WSL
profiles
, with content copied fromprofiles/cmd
.guid
.name
, such asWSL
.commandline
towsl.exe
.Then you'll find
WSL
in the drop-down menu of tab bar.Here're sample codes:
The text was updated successfully, but these errors were encountered: