R
Romain Caire
Guest
Hi,
In one of my projects I use this API:
PackageManager.FindPackages Method (Windows.Management.Deployment) - Windows UWP applications
But it seams it's not working anymore.
When I try to build with the latest SDK, build fail with error:
error C3779: 'winrt::impl::consume_Windows_Foundation_Collections_IIterable<winrt::Windows::Foundation::Collections::IIterablewinrt::Windows::ApplicationModel:ackage,T>::First' : a function that returns 'decltype(auto)' cannot be used before it is defined
with
[
T=winrt::Windows::ApplicationModel:ackage
]
see declaration: 'winrt::impl::consume_Windows_Foundation_Collections_IIterable<winrt::Windows::Foundation::Collections::IIterablewinrt::Windows::ApplicationModel:ackage,T>::First'
with
[
T=winrt::Windows::ApplicationModel:ackage
]
Here is an example of the bug.
supercairos/FindPacakgesBugWinSDK
Changing in general option of the projet Windows SDK from 10.0.18362.0 to 10.0.19041.0 show the bug.
Continue reading...
In one of my projects I use this API:
PackageManager.FindPackages Method (Windows.Management.Deployment) - Windows UWP applications
But it seams it's not working anymore.
When I try to build with the latest SDK, build fail with error:
error C3779: 'winrt::impl::consume_Windows_Foundation_Collections_IIterable<winrt::Windows::Foundation::Collections::IIterablewinrt::Windows::ApplicationModel:ackage,T>::First' : a function that returns 'decltype(auto)' cannot be used before it is defined
with
[
T=winrt::Windows::ApplicationModel:ackage
]
see declaration: 'winrt::impl::consume_Windows_Foundation_Collections_IIterable<winrt::Windows::Foundation::Collections::IIterablewinrt::Windows::ApplicationModel:ackage,T>::First'
with
[
T=winrt::Windows::ApplicationModel:ackage
]
Here is an example of the bug.
supercairos/FindPacakgesBugWinSDK
Changing in general option of the projet Windows SDK from 10.0.18362.0 to 10.0.19041.0 show the bug.
Continue reading...