-
Notifications
You must be signed in to change notification settings - Fork 8.5k
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
Cannot open include file: 'winrt/Microsoft.Terminal.Settings.h'. Build failed. #520
Comments
got right the same problem with you dude. I have tried
I've tried which was mentioned in other issues but it doesn't work at all and I still can't find that header in my pc |
Please don't install the C++/WinRT VSIX. They're deprecating that in favor of the nuget package, which the solution should install for you. There are some mysterious issues with build order and that project, and there always have been. If you manually build that project (TerminalSettings) first, then the rest of the solution will build fine. If someone could figure out how to consistently get the TerminalSettings project to build first, a PR would be welcome :) |
@EnterpriseBCMe Right click on solution and check if there is option to "Install Missing Features". It solved the problem for me. |
If you right click on TerminalApp's references and add a reference to TerminalSettings this will likely fix your problem. |
Did you restore nuget packages, making sure that the CppWinrt package is installed? It'll be under |
That's #438 |
This appears to have sorted itself out. Closing. |
When trying to build, I get
C1083 Cannot open include file: 'winrt/Microsoft.Terminal.Settings.h': No such file or directory
This is coming from the TerminalCore project in Terminal.cpp, line 13.
The text was updated successfully, but these errors were encountered: