Generating libraries for UWP apps

For Windows Apps I have my own library that I am using in all my apps. This library contains reuable stuff I created or found on the internet that are useful for me. Getting the best from all the libraries out there and avoids me to include lot of libraries is each project again.

Last week I started to create a library for UWP apps. When I tried to copy the output to one of my UWP apps I was getting this error:

1>C:\Program Files (x86)\MSBuild\Microsoft.NetNative\Microsoft.Net.CoreRuntime.targets(223,5): error MSB3030: Could not copy the file "c:\projectpath\bin\Release\\Properties\snippetsvs2015_uwp.rd.xml" because it was not found.

The solution for this problem is very easy, but also very easy to miss if you never used this before. Go to the project properties and then select the build tab. There you have to turn on the option “Generate library layout” The output now will work without any project in your apps. You also have to do this when making nuget packages. enter image description here

  •   RT @alvinashcraft: Getting Started with Lottie-Windows. #xaml #winui #uwp #windowsdev https://t.co/P4EWilrffA
  •   RT @WindowsUI: We are releasing new samples and documentation today showing how to use the compositor's Visual Layer APIs in win32 apps: ht…
  •   RT @JenMsft: @PXAbstraction With the latest version of W10, you can now tie snipping to PrintScreen - lets you capture things that would ot…
  •   RT @JenMsft: It was so fun to talk to the MVPs today about [REDACTED] 😁 #MVPSummit #MVPBuzz
  •   RT @JenMsft: New build for Fast! Look for 18361 - let us know how it goes once you upgrade! Details here: https://t.co/KCrMGkCsCY 😊 #Window…
  •   @JenMsft Plqn to visit 33?
  •   RT @JenMsft: Image support now rolling out for Sticky Notes if you're in Skip Ahead 😊 #WindowsInsiders Details 👉🏻 https://t.co/6IAdzNYeIs…
  •   RT @ClintRutkas: having a great time discussing Windows Development topics at the #mvpSummit. If you feel a community member is a Microsof…
  •   @NicoVermeir revenge is sweet 🤣
  •   @theothernt found a whole dutch delegation at 4am @ starbucks :)