Not able to pin secondary tiles on windows 10 desktop

0

I'm trying to execute the notification sample from here. I'm able to create secondary tiles in the windows 10 mobile but when I try executing the same program it gives me an System Exception:(The local device name is already in use.(HRESULT :0x80070055) at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task).

This is happening soon after I execute the code

await tile.RequestCreateAsync();

Where tile is a SecondaryTile Please note I am able to send updates/Notifications to the Primary tile without any problem.

Edit: I've tried pinning secondary tiles from other apps like OneNote all of them crash. So I guess its a problem with the OS. I'm on 10586.36 build.

c#
windows-runtime
uwp
asked on Stack Overflow Dec 24, 2015 by AbsoluteSith • edited Dec 24, 2015 by AbsoluteSith

1 Answer

0

Check out the MSDN sample Secondary tiles sample. (You might need to update the references to get the sample to compile/work)

It's scenario 6 you are looking for..

answered on Stack Overflow Feb 21, 2016 by A.J.Bauer • edited Jun 20, 2020 by Community

User contributions licensed under CC BY-SA 3.0