Skip to content
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

ComputeOnDesktopYolo CompileXaml task returned false but did not log an error #17

Open
georgeb4 opened this issue Jan 19, 2023 · 0 comments

Comments

@georgeb4
Copy link

When I try building the ComputeOnDesktopYolo sample, I was originally getting an error code of WMC9999 with the description "Exception from HRESULT: 0x80070003" and the file in question was Microsoft.Windows.UI.Xaml.Common.targets within the Visual Studio 2019 files. When I click on the error code, the Visual Studios documentation site "couldn't find what you were looking for." However double clicking on the error itself brings me to a "CompileXaml" task on line 266.
image

I tried using the fix by utrav in their issue posted on 5/2020 in which they moved the contents of LoadModelAsync() into MainPage() in the file MainPage.xaml.cpp. It wasn't the exact issue I was encountering but figured it was worth testing, and now I'm getting two errors:
image
The first error doesn't make a whole lot of sense given that the entire script is "#include pch.h". The second error occurs in the same file as what I encountered in the first build attempt, also in a "CompileXaml" task, albeit on line 415 this time.
image

Since the small change I made to MainPage.xaml.cpp leads to a different error in the same file in another CompileXaml task, I believe that there's either something wrong with Microsoft.Windows.UI.Xaml.Common.targets as a whole, or the CompileXaml tasks specifically, but I have not been able to find a good resource for diagnosing the problem. For reference, I am using Visual Studio 2019 (16.11.23). Any help would be very appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant