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

  •   @sandeepchads i needed this last week!
  •   @hrist0ph sorry very busy with work at the moment; but working on a rewrite based on the new sdk but not going as fast as i want
  •   @surface thanks but says i am up to date and want all the goodness of 19H1 on my Surface Go
  •   how often i have to press check for updates to force the may update on my surface go 🐱‍👓? #windowsinsiders
  •   @JenMsft Already available to surface go?
  •   RT @windowsblog: Announcing UI Tests in CI/CD for Desktop App Developers https://t.co/3DK2wzAGlX
  •   RT @mrlacey: I get excited about the simplest (obscure?) things sometimes. Yay, XmlnsDefinitionAttribute is coming to .NET Core 3.0, which…
  •   Why does @slack starts faster on my lightweight mobile device then on my heavy powered Core i7 Laptop?
  •   RT @alexmullans: Azure Artifacts is now priced per GB stored 🥳. No more buying and assigning licenses. Start at https://t.co/JAn6daobLV. F…
  •   @LocalJoost i am the creator :) #sorry