UnigramDev / Unigram

Telegram for Windows
https://www.microsoft.com/store/apps/9n97zckpd60q
GNU General Public License v3.0
3.88k stars 448 forks source link

App Crashes with Unhandled Exception at windows.UI.Xaml.dll (Help Needed!) #3120

Open mags-31 opened 2 hours ago

mags-31 commented 2 hours ago

Hi, I'm new to development, and I'm trying to build Unigram. I managed to compile and build it successfully on my machine (Windows, Intel i5, VS2022), but when I hit the green "Run on local machine" button in Visual Studio, the app launches and then crashes immediately with this error:

Unhandled exception at windows.UI.Xaml.dll in telegram.exe: 0xc000027b

The error seems related to windows.UI.Xaml.dll, and after googling a bit, I saw something about app animations possibly causing issues like this, but I’m not really sure. Is this a UI problem? Or something else I might be missing? 😅

I’d really appreciate it if someone could help me understand what’s going on here or point me in the right direction to fix it!

My Setup:

Sorry if this is a basic question, still learning the ropes! Thanks in advance! 🙏

FrayxRulez commented 2 hours ago

The issue may be caused by missing DLLs in the app layout folder (Telegram\bin\x64\Debug), this seem to happen in some configurations with vcpkg libraries.