Closed ZgblKylin closed 5 years ago
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
what dos the 'solution' mean exactly in step5, i'm new here
thanks a lot
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.
Thanks! I am installing VS2017, can't wait to try the new Terminal out!
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: https://github.com/microsoft/Terminal/issues/468#issuecomment-489967072
When I used Git bash,I was told bash:nuget:command not found
How to solve it?
Thanks! I am installing VS2017, can't wait to try the new Terminal out!
hope you have succeed, I am doing this now (I have spend half a day on VS2019 )
I used a fork that sent the fix to vs2019, built without problems
When I used Git bash,I was told
bash:nuget:command not found
How to solve it?
use .\dep\nuget\nuget ...
Does anyone know how to solve the error about the windows version? My window's current version is 17763, but the requirement is higher.
@hengbu the solution is to upgrade to an Insider's build of Windows, or wait until 1903 reaches general availability. We require some features that are only available in the latest version of Windows.
always getting those errors: Severity Code Description Project File Line Suppression State Error C1083 Cannot open include file: 'wil/Common.h': No such file or directory WindowsTerminal C:\Users\yoda\Downloads\Terminal-master\src\inc\LibraryIncludes.h 46
@y0d4a you should do the submodules thing in the README...
can someone just give us the build
This is now the megathread for all build issues.
This is now the megathread for all build issues.
So I think it can be pinned because a lot of people can not build it smoothly
Managed to run it in VS2019 without code change or retargeting to v142. I replied in issue #461 but mentioning it here as well - Followed this to install WinRT and then right-clicked on solution -> install missing feature.
Can someone else also try and see if this works? I can share screenshot of all the packages installed in my VS.
I am getting this error
Ran through the tutorial seen here, also updated to the latest insider build of windows. Had to perform a lot of modifications to my VSCode environment and added a lot of build tools but it compiled and it running. Thanks for this!
Anyone know how to solve Win 10 SDK version issue? I am using VS 2017 and manually downloaded 1903 version SDK, but still, it deploys with error
DEP3321: To deploy this application, your deployment target should be running Windows Universal Runtime version 10.0.18362.0 or higher. You currently are running version 10.0.17763.475.
I am getting this error
You must be running Windows 1903 (build >= 10.0.18362.0) or above in order to run Windows Terminal
Anyone know how to solve Win 10 SDK version issue? I am using VS 2017 and manually downloaded 1903 version SDK, but still, it deploys with error
DEP3321: To deploy this application, your deployment target should be running Windows Universal Runtime version 10.0.18362.0 or higher. You currently are running version 10.0.17763.475.
You must be running Windows 1903 (build >= 10.0.18362.0) or above in order to run Windows Terminal
@audac1ty It shows my windows is up-to-date. I am using Windows 10 Home edition. Do we need to update it manually?
Building doesn't work if there are spaces in the path to the project. Error is in the CppCommon.targets files, Exec Command=", it just really doesn't like executing the full path I think.
Collapse the path to something more straightforward, and it behaves itself a bit better. Somewhere in all the tidying, there may need to be some path escaping somewhere, but workaroundable for now.
for all the people who cant see the Tabs/Dropdown after they have built and run, replace the standard Profiles.json text with:
{"defaultProfile":"{00d9ddc0-fab3-49ad-90ab-64ef755bef22}","initialRows":30,"initialCols":120,"alwaysShowTabs":true,"showTerminalTitleInTitlebar":true,"experimental_showTabsInTitlebar":false,"profiles":[{"guid":"{00d9ddc0-fab3-49ad-90ab-64ef755bef22}","name":"cmd","colorscheme":"Campbell","historySize":9001,"snapOnInput":true,"cursorColor":"#FFFFFF","cursorShape":"bar","commandline":"cmd.exe","fontFace":"Consolas","fontSize":12,"acrylicOpacity":0.75,"useAcrylic":true,"closeOnExit":false,"padding":"0, 0, 0, 0"},{"guid":"{3b50b48f-7c60-4f89-9469-4537029153e4}","name":"PowerShell","colorscheme":"Campbell","historySize":9001,"snapOnInput":true,"cursorColor":"#FFFFFF","cursorShape":"bar","commandline":"powershell.exe","fontFace":"Courier New","fontSize":12,"acrylicOpacity":0.75,"useAcrylic":true,"closeOnExit":false,"padding":"0, 0, 0, 0"}],"schemes":[{"name":"Campbell","foreground":"#F2F2F2","background":"#0C0C0C","colors":["#0C0C0C","#C50F1F","#13A10E","#C19C00","#0037DA","#881798","#3A96DD","#CCCCCC","#767676","#E74856","#16C60C","#F9F1A5","#3B78FF","#B4009E","#61D6D6","#F2F2F2"]},{"name":"Solarized Dark","foreground":"#FDF6E3","background":"#073642","colors":["#073642","#D30102","#859900","#B58900","#268BD2","#D33682","#2AA198","#EEE8D5","#002B36","#CB4B16","#586E75","#657B83","#839496","#6C71C4","#93A1A1","#FDF6E3"]},{"name":"Solarized Light","foreground":"#073642","background":"#FDF6E3","colors":["#073642","#D30102","#859900","#B58900","#268BD2","#D33682","#2AA198","#EEE8D5","#002B36","#CB4B16","#586E75","#657B83","#839496","#6C71C4","#93A1A1","#FDF6E3"]}]}
alternatively just find and replace ("alwaysShowTabs":false) to true
严重性 代码 说明 项目 文件 行 禁止显示状态
错误 MSB8020 无法找到 v142 的生成工具(平台工具集 =“v142”)。若要使用 v142 生成工具进行生成,请安装 v142 生成工具。或者,可以升级到当前 Visual Studio 工具,方式是通过选择“项目”菜单或右键单击该解决方案,然后选择“重定解决方案目标”。 PropertiesLibrary D:\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Cpp.Platform.targets 67
could someone help me? I am new here
@audac1ty It shows my windows is up-to-date. I am using Windows 10 Home edition. Do we need to update it manually?
Have you upgraded to the latest windows insider build? It should be 10.0.18362
Can someone host a binary for Win10 64 bit? I wonder why they haven't made a release yet?
Tools needed
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 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 toUTF-8 BOM
(Notepad++ is recommended). 5.2 Errors insrc/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: