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!

  4. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:21 AM.

Comments are currently closed for this discussion. You can start a new one.

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


22 Aug, 2019 08:13 PM
21 Aug, 2019 11:06 PM
21 Aug, 2019 02:08 PM
21 Aug, 2019 01:37 PM
21 Aug, 2019 10:21 AM
21 Aug, 2019 05:56 AM