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

  •   cute how @MicrosoftTeams restart due a glitch when you close the app... makes me wonder what they think the glitch… https://t.co/2TwilGiy1F
  •   Goodie incoming :)
  •   @danhellem @AzureDevOps awesome! :)
  •   @sandeepchads @AzureDevOps it's not there anymore; the morning i had the feature had a banner in the top of the page that had a button "try"
  •   @sandeepchads @AzureDevOps I had the feature yesterday morning on my environment and in the evening it was gone again 😭
  •   @markscholman @windowsdev Thanks! Jij ook!
  •   Another year @windowsdev MVP #MVPBuzz https://t.co/blu1TMBO0E
  •   RT @kevintgallo: Check it out https://t.co/F9exR1pQMx
  •   RT @stanzillaz: The new Windows Terminal is now on the Store https://t.co/n8rjsg19dv #WindowsInsiders
  •   @tfsbuck maybe not that clear as i was using my phone. in the release note notification I still see the annoucement… https://t.co/tx8DDm36q8