I’m trying to FilePicker using winRT. I’m in trouble because I can’t enable await.
Please tell me how to enable await or code instead of await.
code:
auto picfile = co_await Picker.PickSingleFileAsync();
VisualStudio 2019
UE4.27.2
thank you!
I’m trying to FilePicker using winRT. I’m in trouble because I can’t enable await.
Please tell me how to enable await or code instead of await.
code:
auto picfile = co_await Picker.PickSingleFileAsync();
VisualStudio 2019
UE4.27.2
thank you!
I was able to enable “/await” option as below:
Open UnrealBuildTool project.
C:\Program Files\Epic Games\UE_4.27\Engine\Source\Programs\UnrealBuildTool\UnrealBuildTool.csproj
Add Arguments.Add(“/await”); to AppendCLArguments_CPP().
Rebuild UnrealBuildTool.
Then, compiling WinRT code with “co_await” was completed successfully.
It is very kind of you. You are my hero!