-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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 run deployed application (winrt::hresult_error when debugging) #886
Comments
the real meat of the exception is here:
What font is set in your profiles.json? If it doesn't exist, the app will crash without warning currently. See #550 |
The thing is, I never got to launch the app, therefore did not edit profiles.json file. If the app is deployed into %LOCALAPPDATA% there is only a 0KB wdt.exe file in there that I can find. |
The profiles.json should be under "%LOCALAPPDATA%\Packages\WindowsTerminalDev_8wekyb3d8bbwe\RoamingState" does this folder exist and is there a profiles.json with correct content? |
Yes there is this folder, and a profiles.json with the following content:
|
What Font is |
It looks a lot like you've edited the profiles.json file . . . and I'm going to guess that this is the problem:
Can you open the Iosevka font and see what its full name is? You might need to use its full name, which could be something like |
Well, this is embarassing. I take full blame for not reading through the profiles.json file... However, I truly haven't edited this file after formatting and rebuilding Windows Terminal. Does this app download settings from previous installs / cloud? I did in fact set the font to Iosevka before formatting, but had not done this in this install of Windows. I can confirm that changing the font variable fixes this problem. I am keeping this open to confirm whether my profiles.json file is from an older install, a moderator can close this issue if they choose to do so. Thanks a lot for everyone's help and their time. |
@mertcanekiz We've seen a couple of these in the wild. Since we put the settings into the Glad we got it sorted! I'll close this, but we'll look at whether this is part of our long term strategy. |
I was successful in building three days ago, but I had to reinstall Windows on my machine, and now when I deploy the app and try to run it, I don't get any window showing up at all.
When I try debugging on Visual Studio, I get the following error:
Exception thrown at 0x00007FF8A990A839 in WindowsTerminal.exe: Microsoft C++ exception: winrt::hresult_error at memory location 0x000000C5D358DDF8. occurred
Output > Debug:
(Please tell me if there is another way of providing better debug information, as I am quite inexperienced with using Visual Studio.)
The text was updated successfully, but these errors were encountered: