Build failing on reference to "Windows.UI.winmd"

Dennis's Avatar


08 Oct, 2017 02:23 PM

Hello all,

I have added a reference to Windows.UI.winmd in my .NET desktop app to be able to send Toast Notications. On my PC this seems to build correctly, but it does not seems to work on appveyor.

The failing build can be found here:
The project file can be found here:

Thanks for your help!

  1. Support Staff 1 Posted by Ilya Finkelshte... on 09 Oct, 2017 05:31 PM

    Ilya Finkelshteyn's Avatar

    I am little bit confused because build you sent is triggered by commit, which did not introduce any references. You probably meant this commit, right? I am not familiar with this, but I wonder is it supposed to work on Windows Server? AppVeyor build VMs are Windows Server 2012R2 (for Visual Studio 2015 build worker image) and Windows Server 2016 (for Visual Studio 2017 build worker image) and not Windows 10 or Windows 8...

  2. 2 Posted by Dennis on 09 Nov, 2017 09:07 PM

    Dennis's Avatar

    Yeah, I indeed linked the build after the commit.

    I changed the TargetFrameworkVersion from 8.1 to 10.0.10586, switch should both be installed with VS2017. And the build with 10.0.10586 does work.

    The change that fixed it for me:


  3. Support Staff 3 Posted by Ilya Finkelshte... on 09 Nov, 2017 09:34 PM

    Ilya Finkelshteyn's Avatar

    Thanks a lot for the update!

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

18 Jun, 2018 12:07 AM
17 Jun, 2018 04:04 PM
16 Jun, 2018 08:06 PM
16 Jun, 2018 07:30 PM
16 Jun, 2018 09:22 AM


15 Jun, 2018 09:31 PM
15 Jun, 2018 08:31 PM
15 Jun, 2018 04:29 PM
15 Jun, 2018 12:39 PM
15 Jun, 2018 12:37 PM
15 Jun, 2018 08:21 AM