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

  •   @JenMsft never mind; i found it by going to the old control panel; made a feedback item for it https://t.co/WmouYyriYV
  •   @peterskillman need help testing? :)
  •   @JenMsft i had to reset windows (recovery in the settings app) on my surface book 2 in order to be able to get a fi… https://t.co/0oTMC6nvpb
  •   RT @WBuzzer: Microsoft and Amazon Finally Launch Cortana and Alexa Integration https://t.co/8yJ1ijZRoU https://t.co/K24wtKFkSA
  •   @tfsbuck @thomsen_digital @cschleiden @matthewisabel +1 extension builders need guidiness for this. and what is the… https://t.co/3Ecj7tEkPG
  •   RT @rajen_k: Visual Studio 2017 version 15.8 is now available for download! Check out the details at https://t.co/G23ibMjjfY #VisualStudio
  •   @ingnl laatste windows 10; en ook op laatste insider build geprobeerd maar niet veel beter; Dus terug naar de vraag… https://t.co/zK70bdkiaM
  •   @Rabobank doe ik het voor jullie; gister de website omgezet :)
  •   @Rabobank nee gewoon voor mijn laptop
  •   @Rabobank een app? of zal ik mijn versie maar publiseren? https://t.co/ooJT7dJFQP